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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x622ad3
mov eax, dword fs:[0]
push eax
sub esp, 0x108
push ebx
push esi
push edi
mov eax, dword [0x685e38]
xor eax, esp
push eax
lea eax, [esp + 0x118]
mov dword fs:[0], eax
mov edi, ecx
fld qword [0x6448d8]
lea eax, [esp + 0xf4]
push eax
fstp qword [esp + 0x18]
call fcn.0051d930
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.005f0450
lea ecx, [esp + 0x28]
call fcn.00520ea0
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 0x52d5da
add ebx, 8
mov dword [esp + 0x3c], ebx
mov edx, dword [ebx]
cmp edx, dword [ebx - 8]
jne 0x52d299
mov ecx, dword [ebx + 4]
cmp ecx, dword [ebx - 4]
je 0x52d5c1
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.0052d730
add esp, 0xc
test eax, eax
jg 0x52d639
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.0052cf30
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fcom qword [esp + 0x14]
fnstsw ax
test ah, 5
jp 0x52d322
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 0x52d324
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.005220d0
test eax, eax
je 0x52d468
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.00521170
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.00520ec0
lea ecx, [esp + 0xac]
push ecx
lea edx, [esp + 0xe4]
push edx
push edi
mov byte [esp + 0x12c], 1
call fcn.0052df60
add esp, 0xc
cmp eax, 1
jne 0x52d450
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.005221e0
sub eax, dword [edi + 0x1c]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fcom qword [esp + 0x14]
fnstsw ax
test ah, 5
jp 0x52d44e
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 0x52d450
fstp st(0)
lea ecx, [esp + 0xe0]
mov byte [esp + 0x120], 0
call fcn.00520f30
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.005220d0
test eax, eax
je 0x52d50b
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.005221e0
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fcom qword [esp + 0x14]
fnstsw ax
test ah, 5
jp 0x52d509
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.00521170
mov edx, dword [eax]
mov dword [esi + 8], edx
mov eax, dword [eax + 4]
mov dword [esi + 0xc], eax
jmp 0x52d50b
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.005220d0
test eax, eax
je 0x52d59f
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.005221e0
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fcom qword [esp + 0x14]
fnstsw ax
test ah, 5
jp 0x52d59d
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.00521170
mov edx, dword [eax]
mov dword [esi + 8], edx
mov eax, dword [eax + 4]
mov dword [esi + 0xc], eax
jmp 0x52d59f
fstp st(0)
fldz
fcomp qword [esp + 0x14]
fnstsw ax
test ah, 0x44
jnp 0x52d652
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 0x52d286
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.0052cf30
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
fld qword [esp + 0x14]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x52d680
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 0x52d682
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.00520f30
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 [0x634650]
call fcn.005fbb60
lea ecx, [esp + 0x28]
mov esi, eax
mov dword [esp + 0x120], 0xffffffff
call fcn.00520f30
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