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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x620bb3
mov eax, dword fs:[0]
push eax
sub esp, 0x108
push ebx
push esi
push edi
mov eax, dword [0x682d00]
xor eax, esp
push eax
lea eax, [esp + 0x118]
mov dword fs:[0], eax
mov edi, ecx
fld qword [0x6424d0]
lea eax, [esp + 0xf4]
push eax
fstp qword [esp + 0x18]
call fcn.0051c850
fld qword [eax]
fstp qword [esp + 0x4c]
lea ecx, [esp + 0x4c]
fld qword [eax + 8]
push ecx
lea ecx, [esp + 0x20]
fstp qword [esp + 0x58]
call fcn.005ee990
lea ecx, [esp + 0x28]
call fcn.0051fdc0
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x30], ecx
mov ecx, dword [ebp + 0xc]
xor eax, eax
dec ecx
cmp ecx, eax
mov dword [esp + 0x120], eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x24], ecx
jle 0x52c45a
add ebx, 8
mov dword [esp + 0x3c], ebx
mov edx, dword [ebx]
cmp edx, dword [ebx - 8]
jne 0x52c119
mov ecx, dword [ebx + 4]
cmp ecx, dword [ebx - 4]
je 0x52c441
mov eax, dword [ebx + 4]
lea ecx, [esp + 0xac]
push ecx
mov dword [esp + 0x38], edx
lea edx, [esp + 0x2c]
push edi
push edx
mov dword [esp + 0x44], eax
call fcn.0052c5b0
add esp, 0xc
test eax, eax
jg 0x52c4b9
fld qword [esp + 0x4c]
lea eax, [esp + 0x44]
push eax
fstp qword [esp + 0xc8]
fld qword [esp + 0x58]
lea ecx, [esp + 0xc8]
push ecx
fstp qword [esp + 0xd4]
lea eax, [ebx - 8]
push eax
mov ecx, edi
call fcn.0052bdb0
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fcom qword [esp + 0x14]
fnstsw ax
test ah, 5
jp 0x52c1a2
mov eax, dword [esp + 0x48]
fstp qword [esp + 0x14]
mov edx, dword [esp + 0x44]
mov dword [esi], edx
mov dword [esi + 4], eax
mov ecx, dword [ebx - 8]
mov dword [esi + 8], ecx
mov eax, dword [ebx - 4]
mov dword [esi + 0xc], eax
jmp 0x52c1a4
fstp st(0)
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x84]
push ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
call fcn.00520fb0
test eax, eax
je 0x52c2e8
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x9c]
mov dword [esp + 0x9c], edx
push ecx
lea edx, [esp + 0x108]
push edx
lea ecx, [esp + 0x30]
mov dword [esp + 0xa8], eax
call fcn.00520040
mov ebx, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xdc], eax
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x94]
mov dword [esp + 0x8c], eax
push edx
lea eax, [esp + 0x90]
mov dword [esp + 0x94], ecx
push eax
lea ecx, [esp + 0xe8]
mov dword [esp + 0x9c], ebx
call fcn.0051fde0
lea ecx, [esp + 0xac]
push ecx
lea edx, [esp + 0xe4]
push edx
push edi
mov byte [esp + 0x12c], 1
call fcn.0052cde0
add esp, 0xc
cmp eax, 1
jne 0x52c2d0
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x74]
mov dword [esp + 0x78], ecx
push edx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x78], eax
call fcn.005210c0
sub eax, dword [edi + 0x1c]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fcom qword [esp + 0x14]
fnstsw ax
test ah, 5
jp 0x52c2ce
mov eax, dword [esp + 0xac]
fstp qword [esp + 0x14]
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xdc]
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], edx
jmp 0x52c2d0
fstp st(0)
lea ecx, [esp + 0xe0]
mov byte [esp + 0x120], 0
call fcn.0051fe50
mov ebx, dword [esp + 0x3c]
mov ecx, dword [edi + 8]
mov eax, dword [edi + 4]
lea edx, [esp + 0xbc]
mov dword [esp + 0xc0], ecx
push edx
lea ecx, [esp + 0x2c]
mov dword [esp + 0xc0], eax
call fcn.00520fb0
test eax, eax
je 0x52c38b
mov ecx, dword [edi + 8]
mov eax, dword [edi + 4]
lea edx, [esp + 0x5c]
mov dword [esp + 0x60], ecx
push edx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x60], eax
call fcn.005210c0
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fcom qword [esp + 0x14]
fnstsw ax
test ah, 5
jp 0x52c389
mov eax, dword [edi + 4]
fstp qword [esp + 0x14]
mov dword [esi], eax
mov eax, dword [edi + 8]
mov dword [esi + 4], eax
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
mov dword [esp + 0xa4], ecx
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0x110]
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0xb0], edx
call fcn.00520040
mov edx, dword [eax]
mov dword [esi + 8], edx
mov eax, dword [eax + 4]
mov dword [esi + 0xc], eax
jmp 0x52c38b
fstp st(0)
mov ecx, dword [edi + 0x10]
mov eax, dword [edi + 0xc]
lea edx, [esp + 0x64]
mov dword [esp + 0x68], ecx
push edx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x68], eax
call fcn.00520fb0
test eax, eax
je 0x52c41f
mov ecx, dword [edi + 0x10]
mov eax, dword [edi + 0xc]
lea edx, [esp + 0x6c]
mov dword [esp + 0x70], ecx
push edx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x70], eax
call fcn.005210c0
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fcom qword [esp + 0x14]
fnstsw ax
test ah, 5
jp 0x52c41d
mov eax, dword [edi + 0xc]
fstp qword [esp + 0x14]
mov dword [esi], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 4], eax
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 0x10]
mov dword [esp + 0x7c], ecx
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0xf8]
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x88], edx
call fcn.00520040
mov edx, dword [eax]
mov dword [esi + 8], edx
mov eax, dword [eax + 4]
mov dword [esi + 0xc], eax
jmp 0x52c41f
fstp st(0)
fldz
fcomp qword [esp + 0x14]
fnstsw ax
test ah, 0x44
jnp 0x52c4d2
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x30], ecx
inc eax
add ebx, 8
cmp eax, dword [esp + 0x24]
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ebx
jl 0x52c106
mov ebx, dword [ebp + 8]
fld qword [esp + 0x4c]
lea ebx, [ebx + eax*8]
lea edx, [esp + 0x44]
fstp qword [esp + 0xc4]
fld qword [esp + 0x54]
push edx
lea eax, [esp + 0xc8]
fstp qword [esp + 0xd0]
push eax
push ebx
mov ecx, edi
call fcn.0052bdb0
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
fld qword [esp + 0x14]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x52c500
mov ecx, dword [esp + 0x44]
fstp st(0)
mov edx, dword [esp + 0x48]
mov dword [esi], ecx
mov dword [esi + 4], edx
mov eax, dword [ebx]
mov dword [esi + 8], eax
mov ebx, dword [ebx + 4]
mov dword [esi + 0xc], ebx
jmp 0x52c502
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xb0]
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x120], 0xffffffff
call fcn.0051fe50
xor eax, eax
mov ecx, dword [esp + 0x118]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
fstp st(1)
fadd qword [0x632648]
call fcn.005f9c80
lea ecx, [esp + 0x28]
mov esi, eax
mov dword [esp + 0x120], 0xffffffff
call fcn.0051fe50
mov eax, esi
mov ecx, dword [esp + 0x118]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc