Function at 0x434ff0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5203a1
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
push ebx
push ebp
push esi
push edi
mov eax, dword [0x597f54]
xor eax, esp
push eax
lea eax, [esp + 0xd4]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x18], ebx
mov esi, dword [esp + 0xe4]
push esi
lea eax, [esp + 0x44]
push eax
call fcn.00432040
mov ecx, dword [esp + 0xe8]
mov eax, dword [eax]
push ecx
xor ebp, ebp
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0xe4], ebp
call fcn.00502660
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov byte [esp + 0xdc], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43507a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor edi, edi
cmp dword [esp + 0x7c], ebp
jle 0x435214
push edi
lea ecx, [esp + 0xa8]
push ecx
lea ecx, [esp + 0x70]
call fcn.004313c0
mov esi, eax
cmp dword [esi], ebp
je 0x4350a3
cmp dword [esi + 4], ebp
jne 0x4350a8
call fcn.004e2d91
mov eax, dword [esi]
mov ebp, dword [eax + 8]
mov ecx, dword [esi + 8]
add eax, 4
cmp ebp, dword [eax + 8]
mov dword [esp + 0x14], ecx
jbe 0x4350c5
call fcn.004e2d91
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 4]
mov eax, dword [esi]
sub edx, ebp
sar edx, 2
shl edx, 5
add ecx, edx
cmp ecx, dword [eax]
jb 0x4350dd
call fcn.004e2d91
mov ecx, dword [esi + 8]
mov eax, dword [esi + 4]
mov edx, 1
shl edx, cl
mov ecx, dword [esp + 0xe4]
lea ebp, [edi + ecx]
lea ecx, [ebx + 0x148]
test dword [eax], edx
lea edx, [esp + 0x28]
setne al
mov byte [esp + 0x2c], al
push edx
lea eax, [esp + 0xb4]
push eax
mov dword [esp + 0x30], ebp
call fcn.00431240
mov eax, dword [esp + 0x48]
test eax, eax
je 0x43512e
mov ecx, dword [esp + 0x4c]
sub ecx, eax
sar ecx, 2
cmp edi, ecx
jb 0x435137
call fcn.004e2d91
mov eax, dword [esp + 0x48]
fld dword [eax + edi*4]
lea ecx, [esp + 0x90]
push ecx
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
lea edx, [esp + 0xcc]
push edx
fstp dword [esp + 0x9c]
lea ecx, [ebx + 0x124]
mov dword [esp + 0x98], ebp
call fcn.00431180
push edi
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x5c]
call fcn.004313c0
mov esi, eax
cmp dword [esi], 0
je 0x43518a
cmp dword [esi + 4], 0
jne 0x43518f
call fcn.004e2d91
mov eax, dword [esi]
mov ebx, dword [eax + 8]
mov ecx, dword [esi + 8]
add eax, 4
cmp ebx, dword [eax + 8]
mov dword [esp + 0x14], ecx
jbe 0x4351ac
call fcn.004e2d91
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 4]
mov eax, dword [esi]
sub edx, ebx
sar edx, 2
shl edx, 5
add ecx, edx
cmp ecx, dword [eax]
jb 0x4351c4
call fcn.004e2d91
mov ecx, dword [esi + 8]
mov eax, dword [esi + 4]
mov edx, 1
shl edx, cl
lea ecx, [esp + 0x98]
mov dword [esp + 0x20], ebp
test dword [eax], edx
setne al
mov byte [esp + 0x24], al
lea eax, [esp + 0x20]
push eax
push ecx
mov ecx, dword [esp + 0x20]
add ecx, 0x154
call fcn.00431240
mov ebx, dword [esp + 0x18]
add edi, 1
xor ebp, ebp
cmp edi, dword [esp + 0x7c]
jl 0x435086
mov esi, dword [esp + 0xe4]
cmp byte [esp + 0x8c], 0
je 0x43523f
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x9c]
push eax
lea ecx, [ebx + 0x160]
mov dword [esp + 0x28], esi
mov byte [esp + 0x2c], 1
call fcn.00431240
cmp byte [esp + 0xe8], 0
je 0x4352bd
push esi
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebx
call fcn.00432040
mov ebx, dword [ebx + 0x88]
cmp ebx, ebp
mov byte [esp + 0xdc], 3
je 0x43528e
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x44]
push edx
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x44]
push ecx
push esi
push edx
call ebx
mov eax, dword [esp + 0x14]
movsx esi, word [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0xdc], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4352c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4352c1
mov esi, dword [esp + 0x7c]
mov eax, dword [esp + 0x70]
cmp eax, ebp
mov dword [esp + 0x68], ebp
je 0x4352d6
push eax
call fcn.004b1a59
add esp, 4
mov eax, dword [esp + 0x5c]
cmp eax, ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], ebp
mov dword [esp + 0x70], ebp
je 0x4352f7
push eax
call fcn.004b1a59
add esp, 4
mov eax, dword [esp + 0x48]
cmp eax, ebp
mov dword [esp + 0x64], ebp
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], ebp
je 0x435314
push eax
call fcn.004b1a59
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xd4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xcc
ret 8