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

Disassembly:
sub esp, 0x7c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x8c]
fld dword [esi]
lea ebx, [esi + 0xc]
fadd dword [ebx]
lea ebp, [esi + 0x18]
fld dword [ebx + 4]
mov eax, dword [0xb6f03c]
test eax, eax
fadd dword [esi + 4]
fld dword [ebx + 8]
push edi
fadd dword [esi + 8]
mov edi, ecx
fstp dword [esp + 0x7c]
fxch st(1)
fadd dword [ebp]
fstp dword [esp + 0x68]
fadd dword [ebp + 4]
fld dword [esp + 0x7c]
fadd dword [ebp + 8]
fld dword [esp + 0x68]
fmul dword [0x867028]
fstp dword [esp + 0x38]
fxch st(1)
fmul dword [0x867028]
fstp dword [esp + 0x3c]
fmul dword [0x867028]
fstp dword [esp + 0x40]
je 0x5a38bf
add eax, 0x30
jmp 0x5a38c4
mov eax, 0xb6f02c
fld dword [eax]
fsub dword [esp + 0x38]
fld dword [eax + 4]
fsub dword [esp + 0x3c]
fld dword [eax + 8]
fsub dword [esp + 0x40]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fcomp dword [edi + 0x10]
fstp st(0)
fnstsw ax
fstp st(0)
test ah, 5
fstp st(0)
jp 0x5a3904
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret 4
fld dword [ebx]
lea eax, [esp + 0x38]
fsub dword [esi]
push eax
lea ecx, [esp + 0x6c]
push ecx
fstp dword [esp + 0x40]
lea edx, [esp + 0x34]
fld dword [ebx + 4]
push edx
fsub dword [esi + 4]
fstp dword [esp + 0x48]
fld dword [ebx + 8]
fsub dword [esi + 8]
fstp dword [esp + 0x4c]
fld dword [ebp]
fsub dword [ebx]
fstp dword [esp + 0x50]
fld dword [ebp + 4]
fsub dword [ebx + 4]
fstp dword [esp + 0x54]
fld dword [ebp + 8]
fsub dword [ebx + 8]
fstp dword [esp + 0x58]
fld dword [ebp]
fsub dword [esi]
fstp dword [esp + 0x74]
fld dword [ebp + 4]
fsub dword [esi + 4]
fstp dword [esp + 0x78]
fld dword [ebp + 8]
fsub dword [esi + 8]
fstp dword [esp + 0x7c]
call fcn.0059c730
fld dword [edi + 0x38]
fcomp dword [0x858b50]
add esp, 0xc
mov dword [esp + 0x18], 0
fnstsw ax
test ah, 0x44
jnp 0x5a3c23
fld dword [esi]
fcomp dword [ebx]
fnstsw ax
test ah, 5
jp 0x5a399c
fld dword [esi]
jmp 0x5a399e
fld dword [ebx]
fst dword [esp + 0x14]
fcomp dword [ebp]
fnstsw ax
test ah, 5
jnp 0x5a39b3
mov eax, dword [ebp]
mov dword [esp + 0x14], eax
fld dword [esi + 4]
fcomp dword [esi + 0x10]
fnstsw ax
test ah, 5
jp 0x5a39c5
fld dword [esi + 4]
jmp 0x5a39c8
fld dword [esi + 0x10]
fst dword [esp + 0x1c]
fcomp dword [esi + 0x1c]
fnstsw ax
test ah, 5
jnp 0x5a39dd
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x1c], ecx
fld dword [esi]
fcomp dword [ebx]
fnstsw ax
test ah, 0x41
jne 0x5a39ec
fld dword [esi]
jmp 0x5a39ee
fld dword [ebx]
fst dword [esp + 0x10]
fcomp dword [ebp]
fnstsw ax
test ah, 0x41
je 0x5a3a03
mov edx, dword [ebp]
mov dword [esp + 0x10], edx
fld dword [esi + 4]
fcomp dword [esi + 0x10]
fnstsw ax
test ah, 0x41
jne 0x5a3a15
fld dword [esi + 4]
jmp 0x5a3a18
fld dword [esi + 0x10]
fcom dword [esi + 0x1c]
fnstsw ax
test ah, 0x41
je 0x5a3a27
fstp st(0)
fld dword [esi + 0x1c]
fld dword [0x858624]
fdiv dword [edi + 8]
fld dword [esp + 0x14]
fmul st(1)
call fcn.00821b40
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fmul dword [edi + 8]
call fcn.00821b40
fld dword [esp + 0x10]
fmul st(1)
mov dword [esp + 0x14], eax
call fcn.00821b40
inc eax
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fmul dword [edi + 8]
call fcn.00821b40
fld dword [esp + 0x1c]
fmul st(1)
mov dword [esp + 0x24], eax
call fcn.00821b40
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fmul dword [edi + 8]
call fcn.00821b40
fmul st(1)
mov dword [esp + 0x1c], eax
call fcn.00821b40
fstp st(0)
inc eax
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fmul dword [edi + 8]
call fcn.00821b40
lea ecx, [esp + 0x2c]
mov dword [esp + 0x28], eax
call fcn.0059c910
fild dword [esp + 0x14]
fstp dword [esp + 0x10]
fild dword [esp + 0x24]
fstp dword [esp + 0x20]
fld dword [esp + 0x10]
fcomp dword [esp + 0x20]
fnstsw ax
test ah, 5
jp 0x5a3e03
fild dword [esp + 0x1c]
fstp dword [esp + 0x24]
fild dword [esp + 0x28]
fstp dword [esp + 0x1c]
jmp 0x5a3af0
fld dword [esp + 0x24]
fst dword [esp + 0x14]
fcomp dword [esp + 0x1c]
fnstsw ax
test ah, 5
jp 0x5a3bfb
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x34]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x44]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
sub esp, 0xc
mov ecx, esp
mov eax, ebp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
sub esp, 0xc
mov edx, esp
mov ecx, ebx
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
sub esp, 0xc
mov eax, esp
mov edx, esi
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x48]
push eax
push ecx
mov ecx, edi
call fcn.005a2f80
test al, al
je 0x5a3be1
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x44], edx
xor edx, edx
mov dl, byte [esi + 0x47]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x34]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
sub esp, 0xc
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x68]
mov dword [edx + 4], ecx
mov ecx, edi
mov dword [edx + 8], eax
call fcn.005a32d0
test eax, eax
je 0x5a3be1
inc dword [esp + 0x18]
mov dword [eax + 0xc], esi
fld dword [esp + 0x14]
fadd dword [edi + 8]
fst dword [esp + 0x14]
fcomp dword [esp + 0x1c]
fnstsw ax
test ah, 5
jnp 0x5a3b07
fld dword [esp + 0x10]
fadd dword [edi + 8]
fst dword [esp + 0x10]
fcomp dword [esp + 0x20]
fnstsw ax
test ah, 5
jnp 0x5a3af0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret 4
fld 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)
fsqrt
fmul dword [0x858b8c]
fmul dword [edi + 0xc]
fstp dword [esp + 0x10]
fld dword [esi + 0x20]
fadd dword [esi + 0x1c]
fadd dword [ebp]
fld dword [esi + 0x14]
fadd dword [esi + 0x10]
fadd dword [ebx]
faddp st(1)
fld dword [esi + 8]
fadd dword [esi + 4]
fadd dword [esi]
faddp st(1)
fiadd dword [edi + 4]
call fcn.00821b40
mov ebx, eax
call fcn.00821b1e
push ebx
mov ebp, eax
call fcn.00821b11
fld dword [esp + 0x14]
fcomp dword [0x858b50]
add esp, 4
fnstsw ax
test ah, 0x41
jne 0x5a3dfa
lea ebx, [ebx]
fld dword [0x858624]
fld dword [esp + 0x10]
fcomp dword [0x858624]
fnstsw ax
test ah, 5
jp 0x5a3ccc
fstp st(0)
call fcn.00821b1e
mov dword [esp + 0x28], eax
fild dword [esp + 0x28]
fmul dword [0x858c7c]
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 5
jp 0x5a3ddb
call fcn.00821b1e
mov dword [esp + 0x28], eax
fild dword [esp + 0x28]
fmul dword [0x858c7c]
fstp dword [esp + 0x14]
call fcn.00821b1e
mov dword [esp + 0x28], eax
fild dword [esp + 0x28]
lea ecx, [esp + 0x2c]
fmul dword [0x858c7c]
fmul dword [esp + 0x14]
fld dword [esp + 0x44]
fmul st(1)
fld dword [esp + 0x48]
fmul st(2)
fstp dword [esp + 0x78]
fld dword [esp + 0x4c]
fmul st(2)
fstp dword [esp + 0x7c]
fld dword [esp + 0x38]
fmul dword [esp + 0x14]
fld dword [esp + 0x3c]
fmul dword [esp + 0x14]
fld dword [esp + 0x40]
fmul dword [esp + 0x14]
fstp dword [esp + 0x88]
fxch st(1)
fadd dword [esi]
fstp dword [esp + 0x50]
fadd dword [esi + 4]
fstp dword [esp + 0x54]
fld dword [esp + 0x88]
fadd dword [esi + 8]
fstp dword [esp + 0x58]
fld dword [esp + 0x50]
fadd st(1)
fstp dword [esp + 0x5c]
fstp st(0)
fstp st(0)
fld dword [esp + 0x54]
fadd dword [esp + 0x78]
fstp dword [esp + 0x60]
fld dword [esp + 0x58]
fadd dword [esp + 0x7c]
fstp dword [esp + 0x64]
call fcn.0059c910
mov eax, dword [esp + 0x2c]
xor ecx, ecx
mov cl, byte [esi + 0x47]
push ecx
mov ecx, dword [esp + 0x34]
sub esp, 0xc
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x44]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x80]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov ecx, edi
call fcn.005a32d0
test eax, eax
je 0x5a3ddb
inc dword [esp + 0x18]
mov dword [eax + 0xc], esi
fld dword [esp + 0x10]
fsub dword [0x858624]
fst dword [esp + 0x10]
fcomp dword [0x858b50]
fnstsw ax
test ah, 0x41
je 0x5a3ca0
push ebp
call fcn.00821b11
add esp, 4
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret 4