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

Disassembly:
sub esp, 0x88
push ebx
mov ebx, ecx
mov ecx, dword [esp + 0xa4]
fld dword [ecx + 8]
push ebp
fld dword [ecx + 4]
push esi
fld dword [ecx]
push edi
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fsub dword [0x617dbc]
fstp dword [esp + 0x10]
mov eax, dword [esp + 0x10]
fstp st(0)
and eax, 0x7fffffff
fstp st(0)
mov dword [esp + 0x10], eax
fstp st(0)
fld dword [esp + 0x10]
fcomp dword [0x617e10]
fnstsw ax
test ah, 0x41
je 0x52e133
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0xb0]
push ecx
mov ecx, dword [esp + 0xa8]
push edx
mov edx, dword [esp + 0xa8]
push eax
push ecx
push edx
lea ecx, [esp + 0x6c]
call fcn.0052ad80
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x52e11f
mov edx, dword [ebx + 0x28]
test edx, edx
jle 0x52e11f
mov ecx, eax
and ecx, 2
mov dword [esp + 0x50], ecx
je 0x52dee2
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x3c], ecx
and eax, 1
mov dword [esp + 0x40], eax
je 0x52df03
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
mov ecx, dword [ebx + 0x34]
mov eax, dword [ecx]
lea ebp, [eax - 1]
mov dword [esp + 0x30], eax
sub eax, edx
cmp ebp, eax
mov dword [esp + 0x20], ecx
jl 0x52e0db
mov eax, dword [ecx + 8]
mov edx, ebp
imul edx, edx, 0x44
lea edi, [eax + edx]
lea edx, [edi + 0x1c]
jmp 0x52df30
mov eax, dword [edi]
cmp dword [esp + 0x9c], eax
mov esi, dword [edx - 0x18]
jne 0x52df67
cmp dword [esp + 0xa4], esi
jne 0x52df67
mov ecx, dword [esp + 0x64]
cmp ecx, dword [edx - 0xc]
mov eax, 1
jne 0x52e0bf
mov ecx, dword [esp + 0x68]
cmp ecx, dword [edx - 8]
je 0x52dfa0
jmp 0x52e0bf
cmp dword [esp + 0x9c], esi
jne 0x52e0d7
cmp dword [esp + 0xa4], eax
jne 0x52e0d7
mov ecx, dword [esp + 0x64]
mov esi, dword [edx - 8]
or eax, 0xffffffff
cmp ecx, esi
jne 0x52e0bf
mov ecx, dword [esp + 0x68]
cmp ecx, dword [edx - 0xc]
jne 0x52e0bf
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x52e052
cmp eax, 1
jne 0x52dfb9
lea eax, [edx + 0x10]
lea esi, [edx + 0x1c]
jmp 0x52dfbf
lea eax, [edx + 0x1c]
lea esi, [edx + 0x10]
fld dword [eax]
fsub dword [esp + 0x24]
fld dword [eax + 4]
fsub dword [esp + 0x28]
fld dword [eax + 8]
fsub dword [esp + 0x2c]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fstp st(3)
fstp st(0)
fstp st(0)
fld dword [esi]
fsub dword [esp + 0x34]
fstp dword [esp + 0x14]
fld dword [esi + 4]
fsub dword [esp + 0x38]
fstp dword [esp + 0x18]
fld dword [esi + 8]
fsub dword [esp + 0x3c]
fstp dword [esp + 0x1c]
fld dword [ebx + 8]
fmul dword [0x617dcc]
fld st(0)
fmul st(1)
fstp dword [esp + 0x10]
fstp st(0)
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 5
jp 0x52e052
fld dword [esp + 0x1c]
fmul dword [esp + 0x1c]
fld dword [esp + 0x18]
fmul dword [esp + 0x18]
faddp st(1)
fld dword [esp + 0x14]
fmul dword [esp + 0x14]
faddp st(1)
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 5
jnp 0x52e133
mov eax, dword [esp + 0x40]
test eax, eax
je 0x52e0bf
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0x30]
mov ecx, dword [ecx + 0x18]
mov esi, dword [ecx + 0xc]
mov eax, 1
cmp esi, eax
jne 0x52e085
mov ecx, dword [esp + 0xa4]
mov ecx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0x18]
cmp dword [ecx + 0xc], eax
je 0x52e0bf
fld dword [esp + 0x44]
fmul dword [edx - 4]
fld dword [esp + 0x4c]
fmul dword [edx + 4]
faddp st(1)
fld dword [esp + 0x48]
fmul dword [edx]
faddp st(1)
fstp dword [esp + 0x10]
mov eax, dword [esp + 0x10]
and eax, 0x7fffffff
mov dword [esp + 0x10], eax
fld dword [esp + 0x10]
fcomp dword [0x642adc]
fnstsw ax
test ah, 5
jnp 0x52e0f9
mov ecx, dword [esp + 0x30]
mov esi, dword [ebx + 0x28]
dec ebp
sub ecx, esi
sub edi, 0x44
sub edx, 0x44
cmp ebp, ecx
jge 0x52df30
mov ecx, dword [esp + 0x20]
mov eax, dword [ebx + 0x28]
lea edx, [esp + 0x54]
inc eax
push edx
mov dword [ebx + 0x28], eax
call fcn.0052ddb0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret 0x18
fld dword [esp + 0x78]
fcomp dword [edi + 0x24]
fnstsw ax
test ah, 0x41
jne 0x52e133
mov ecx, 0x11
lea esi, [esp + 0x54]
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret 0x18
mov edx, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x34]
lea eax, [esp + 0x54]
inc edx
push eax
mov dword [ebx + 0x28], edx
call fcn.0052ddb0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret 0x18