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

Disassembly:
sub esp, 0xc8
push ebx
lea eax, [ecx + 0xc]
push ebp
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0xd8]
fld dword [ecx + 8]
push esi
mov esi, dword [esp + 0xd8]
fsub dword [esi + 8]
push edi
fstp dword [eax]
fld dword [ecx + 0xc]
fsub dword [esi + 0xc]
fstp dword [eax + 4]
fld dword [ecx + 0x10]
fsub dword [esi + 0x10]
fstp dword [eax + 8]
mov edx, dword [esi + 0x7c]
test edx, edx
jne 0x52e2f9
fld dword [esi + 0x54]
xor ebx, ebx
fmul dword [eax + 8]
xor edi, edi
fld dword [esi + 0x50]
fmul dword [eax + 4]
faddp st(1)
fld dword [esi + 0x4c]
fmul dword [eax]
faddp st(1)
fstp dword [esp + 0x38]
fld dword [esi + 0x60]
fmul dword [eax + 8]
fld dword [esi + 0x5c]
fmul dword [eax + 4]
faddp st(1)
fld dword [esi + 0x58]
fmul dword [eax]
faddp st(1)
fstp dword [esp + 0x3c]
fld dword [esi + 0x6c]
fmul dword [eax + 8]
fld dword [esi + 0x68]
fmul dword [eax + 4]
faddp st(1)
fld dword [esi + 0x64]
fmul dword [eax]
faddp st(1)
fstp dword [esp + 0x40]
jmp 0x52e1e0
mov ecx, dword [esp + 0xe0]
lea esp, [esp]
push ebx
lea eax, [esp + 0x24]
push eax
call fcn.0051a590
fld dword [esp + 0x28]
fmul dword [esi + 0x54]
mov ecx, dword [esp + 0x38]
fld dword [esp + 0x24]
mov edx, ecx
fmul dword [esi + 0x50]
and edx, 0x7fffffff
mov dword [esp + 0x18], edx
faddp st(1)
fld dword [esp + 0x20]
mov dword [esp + 0x14], ecx
fmul dword [esi + 0x4c]
mov ecx, dword [esp + 0x3c]
mov edx, ecx
and edx, 0x7fffffff
faddp st(1)
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x40]
fst dword [esp + edi + 0x6c]
mov dword [esp + 0x14], ecx
fstp dword [esp + 0x10]
mov eax, dword [esp + 0x10]
and eax, 0x7fffffff
mov dword [esp + 0x10], eax
fld dword [esp + 0x10]
fadd dword [esi + 0x70]
fsubr dword [esp + 0x18]
mov dword [esp + 0x18], edx
mov edx, ecx
fstp dword [esp + edi + 0xa8]
and edx, 0x7fffffff
fld dword [esp + 0x28]
fmul dword [esi + 0x60]
fld dword [esp + 0x24]
fmul dword [esi + 0x5c]
faddp st(1)
fld dword [esp + 0x20]
fmul dword [esi + 0x58]
faddp st(1)
fst dword [esp + edi + 0x70]
fstp dword [esp + 0x10]
mov eax, dword [esp + 0x10]
and eax, 0x7fffffff
mov dword [esp + 0x10], eax
fld dword [esp + 0x10]
fadd dword [esi + 0x74]
fsubr dword [esp + 0x18]
mov dword [esp + 0x18], edx
fstp dword [esp + edi + 0xac]
fld dword [esp + 0x28]
fmul dword [esi + 0x6c]
fld dword [esp + 0x24]
fmul dword [esi + 0x68]
faddp st(1)
fld dword [esp + 0x20]
fmul dword [esi + 0x64]
faddp st(1)
fst dword [esp + edi + 0x74]
fstp dword [esp + 0x10]
mov eax, dword [esp + 0x10]
and eax, 0x7fffffff
mov dword [esp + 0x10], eax
fld dword [esp + 0x10]
fadd dword [esi + 0x78]
fsubr dword [esp + 0x18]
fstp dword [esp + edi + 0xb0]
add edi, 0xc
inc ebx
cmp edi, 0x30
jl 0x52e1d5
jmp 0x52e3e8
mov edx, dword [eax]
mov dword [esp + 0x38], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
xor ebx, ebx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
lea ebp, [esp + 0x6c]
xor edi, edi
jmp 0x52e320
mov ecx, dword [esp + 0xe0]
mov edi, edi
push ebx
push ebp
call fcn.0051a590
fld dword [esp + edi + 0x6c]
mov ecx, dword [esp + 0x38]
fstp dword [esp + 0x14]
mov eax, dword [esp + 0x14]
and eax, 0x7fffffff
mov dword [esp + 0x14], eax
fld dword [esp + 0x14]
mov edx, ecx
fadd dword [esi + 0x70]
and edx, 0x7fffffff
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x3c]
fsubr dword [esp + 0x10]
mov edx, ecx
and edx, 0x7fffffff
fstp dword [esp + edi + 0xa8]
mov dword [esp + 0x10], edx
fld dword [esp + edi + 0x70]
mov dword [esp + 0x18], ecx
fstp dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x14]
and eax, 0x7fffffff
mov dword [esp + 0x14], eax
fld dword [esp + 0x14]
mov edx, ecx
fadd dword [esi + 0x74]
and edx, 0x7fffffff
add edi, 0xc
add ebp, 0xc
fsubr dword [esp + 0x10]
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ecx
fstp dword [esp + edi + 0xa0]
fld dword [esp + edi + 0x68]
fstp dword [esp + 0x14]
mov eax, dword [esp + 0x14]
and eax, 0x7fffffff
mov dword [esp + 0x14], eax
fld dword [esp + 0x14]
inc ebx
cmp edi, 0x30
fadd dword [esi + 0x78]
fsubr dword [esp + 0x10]
fstp dword [esp + edi + 0xa4]
jl 0x52e317
xor edi, edi
lea eax, [esp + 0xac]
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], eax
jmp 0x52e405
mov eax, dword [esp + 0x4c]
xor edi, edi
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [eax - 4]
mov ebp, dword [esp + 0x64]
push ecx
push edx
push eax
lea ecx, [esp + 0xa8]
push ecx
mov ecx, ebp
call fcn.0052ca80
mov dword [esp + 0x54], edi
jmp 0x52e430
mov edx, dword [esp + 0x54]
mov edi, dword [esp + edx*4 + 0x9c]
mov eax, dword [esp + 0x48]
add eax, edi
shl eax, 2
fld dword [esp + eax + 0xa8]
mov dword [esp + 0x14], 0xbf800000
fstp dword [esp + 0x10]
fld dword [esp + eax + 0x6c]
fmul dword [esp + edi*4 + 0x38]
fchs
fcomp dword [0x617db0]
fnstsw ax
test ah, 5
jnp 0x52e476
mov dword [esp + 0x14], 0x3f800000
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0xe0]
push ecx
lea edx, [esp + 0x24]
push edx
mov ecx, ebx
call fcn.0051a590
fld dword [esp + 0x20]
fmul dword [esp + 0x14]
lea eax, [edi + edi*2]
lea eax, [esi + eax*4 + 0x4c]
fadd dword [ebp + 0xc]
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fmul dword [esp + 0x14]
fadd dword [ebp + 0x10]
fstp dword [esp + 0x24]
fld dword [esp + 0x28]
fmul dword [esp + 0x14]
fadd dword [ebp + 0x14]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fmul dword [eax + 8]
fld dword [esp + 0x24]
fmul dword [eax + 4]
faddp st(1)
fld dword [esp + 0x20]
fmul dword [eax]
faddp st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x10]
fcomp dword [0x617db0]
fnstsw ax
test ah, 5
jp 0x52e516
mov ecx, dword [esp + 0x1c]
mov edx, ecx
and edx, 0x7fffffff
mov dword [esp + 0x18], edx
fld dword [esp + 0x18]
mov dword [esp + 0x68], ecx
fcomp dword [esi + edi*4 + 0x70]
fnstsw ax
test ah, 0x41
je 0x52e61a
fld dword [esp + 0x10]
fcomp dword [ebp + 4]
fnstsw ax
test ah, 0x41
jp 0x52e61a
fld dword [esi + edi*4 + 0x70]
fmul dword [0x617e54]
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 5
jnp 0x52e556
fld dword [esp + 0x1c]
fmul dword [esp + edi*4 + 0x38]
fcomp dword [0x617db0]
fnstsw ax
test ah, 5
jp 0x52e61a
cmp edi, 2
jl 0x52e55f
xor ecx, ecx
jmp 0x52e562
lea ecx, [edi + 1]
mov edx, dword [esp + 0x48]
fld dword [esp + 0x14]
lea eax, [edx + ecx]
fmul dword [esp + eax*4 + 0x6c]
fadd dword [esp + ecx*4 + 0x38]
fstp dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
and eax, 0x7fffffff
mov dword [esp + 0x1c], eax
fld dword [esp + 0x1c]
fsub dword [esi + ecx*4 + 0x70]
fst dword [esp + 0x1c]
fld dword [esp + 0x10]
fcomp dword [0x617db0]
fnstsw ax
test ah, 0x41
jne 0x52e5a8
fld dword [ebp + 8]
jmp 0x52e5ae
fld dword [0x617db0]
fxch st(1)
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 0x41
jp 0x52e61a
cmp ecx, 2
jl 0x52e5c4
xor ecx, ecx
jmp 0x52e5c5
inc ecx
fld dword [esp + 0x14]
add edx, ecx
fmul dword [esp + edx*4 + 0x6c]
fadd dword [esp + ecx*4 + 0x38]
fstp dword [esp + 0x18]
mov edx, dword [esp + 0x18]
and edx, 0x7fffffff
mov dword [esp + 0x18], edx
fld dword [esp + 0x18]
fsub dword [esi + ecx*4 + 0x70]
fst dword [esp + 0x18]
fld dword [esp + 0x10]
fcomp dword [0x617db0]
fnstsw ax
test ah, 0x41
jne 0x52e607
fld dword [ebp + 8]
jmp 0x52e60d
fld dword [0x617db0]
fxch st(1)
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 0x41
jnp 0x52e631
mov eax, dword [esp + 0x54]
inc eax
cmp eax, 3
mov dword [esp + 0x54], eax
jl 0x52e430
jmp 0x52e866
fld dword [esp + edi*4 + 0x38]
mov dword [esp + 0x50], 0xbf800000
fcomp dword [0x617db0]
fnstsw ax
test ah, 5
jnp 0x52e652
mov dword [esp + 0x50], 0x3f800000
mov eax, dword [esp + 0x44]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebx
call fcn.0051a590
fld dword [esp + 0x20]
fmul dword [esp + 0x14]
lea edx, [edi + edi*2]
lea ecx, [esi + edx*4 + 0x4c]
fadd dword [ebx + 8]
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fmul dword [esp + 0x14]
fadd dword [ebx + 0xc]
fstp dword [esp + 0x24]
fld dword [esp + 0x28]
fmul dword [esp + 0x14]
fadd dword [ebx + 0x10]
fstp dword [esp + 0x28]
fld dword [esp + 0x50]
fmul dword [esp + 0x10]
fchs
fld st(0)
fmul dword [ecx]
fadd dword [esp + 0x20]
fstp dword [esp + 0x58]
fld st(0)
fmul dword [ecx + 4]
fadd dword [esp + 0x24]
fstp dword [esp + 0x5c]
fmul dword [ecx + 8]
fadd dword [esp + 0x28]
fstp dword [esp + 0x60]
fld dword [ebp + 4]
fcomp dword [ebp + 8]
fnstsw ax
test ah, 0x44
jp 0x52e82b
fld dword [esp + 0x10]
fcomp dword [0x617db0]
fnstsw ax
test ah, 0x41
jne 0x52e82b
fld dword [esp + 0x1c]
fcomp dword [0x617db0]
fnstsw ax
test ah, 0x41
je 0x52e711
fld dword [esp + 0x18]
fcomp dword [0x617db0]
fnstsw ax
test ah, 0x41
jne 0x52e82b
fld dword [esp + 0x1c]
fcomp dword [0x617db0]
fnstsw ax
test ah, 0x41
jne 0x52e728
fld dword [esp + 0x1c]
jmp 0x52e72e
fld dword [0x617db0]
fld dword [esp + 0x18]
fcomp dword [0x617db0]
fnstsw ax
test ah, 0x41
jne 0x52e745
fld dword [esp + 0x18]
jmp 0x52e74b
fld dword [0x617db0]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld dword [esp + 0x10]
fmul dword [esp + 0x10]
faddp st(1)
fcomp dword [0x617dcc]
fnstsw ax
fstp st(0)
test ah, 0x41
fstp st(0)
jne 0x52e82b
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push edi
push eax
push ecx
lea edx, [esp + 0x64]
push edx
push esi
mov ecx, ebp
call fcn.0052ce50
fld dword [esp + 0x58]
fsub dword [esp + 0x20]
fstp dword [esp + 0x2c]
fld dword [esp + 0x5c]
fsub dword [esp + 0x24]
fstp dword [esp + 0x30]
fld dword [esp + 0x60]
fsub dword [esp + 0x28]
fst dword [esp + 0x34]
fmul dword [esp + 0x34]
fld dword [esp + 0x30]
fmul dword [esp + 0x30]
faddp st(1)
fld dword [esp + 0x2c]
fmul dword [esp + 0x2c]
faddp st(1)
fcom dword [0x617e44]
fnstsw ax
test ah, 0x41
jne 0x52e805
fsqrt
fld dword [0x617dbc]
fdiv st(1)
fld dword [esp + 0x2c]
fmul st(1)
fstp dword [esp + 0x2c]
fld dword [esp + 0x30]
fmul st(1)
fstp dword [esp + 0x30]
fld dword [esp + 0x34]
fmul st(1)
fstp dword [esp + 0x34]
fstp st(0)
fstp dword [esp + 0x10]
jmp 0x52e849
fstp st(0)
mov dword [esp + 0x34], 0
fld dword [0x617db0]
mov dword [esp + 0x30], 0
fstp dword [esp + 0x10]
mov dword [esp + 0x2c], 0
jmp 0x52e849
fld dword [esp + 0x50]
fchs
fld st(0)
fmul dword [ecx]
fstp dword [esp + 0x2c]
fld st(0)
fmul dword [ecx + 4]
fstp dword [esp + 0x30]
fmul dword [ecx + 8]
fstp dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x2c]
push eax
push ecx
lea edx, [esp + 0x28]
push edx
push ebx
lea eax, [esp + 0x68]
push eax
push esi
mov ecx, ebp
call fcn.0052ddf0
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
mov edi, dword [esp + 0x4c]
add eax, 3
inc ebx
add edi, 0xc
cmp eax, 0xc
mov dword [esp + 0x44], ebx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], eax
jl 0x52e3ff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc8
ret 8