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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
mov esi, ecx
mov eax, dword [esi + 0x20]
fld dword [eax + 0x24]
mov ecx, dword [esi + 0x58]
fld dword [eax + 0x28]
add eax, 0x20
mov eax, dword [eax]
fxch st(1)
add ecx, 0x20
fstp dword [ecx + 4]
mov dword [ecx], eax
push edi
fstp dword [ecx + 8]
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x58]
add ecx, 0x30
push ecx
add edx, 0x50
push edx
call fcn.00401310
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x58]
add esp, 8
add eax, 0x1f0
push eax
call fcn.005920f0
mov eax, dword [esi + 0x58]
lea ecx, [eax + 0x50]
push ecx
add eax, 0x90
push eax
call fcn.00401310
mov eax, dword [esi + 0x20]
fld dword [eax + 0xa4]
mov edx, dword [eax + 0xa0]
fld dword [eax + 0xa8]
mov ecx, dword [esi + 0x58]
add eax, 0xa0
fxch st(1)
fstp dword [ecx + 0x34]
mov dword [ecx + 0x30], edx
fstp dword [ecx + 0x38]
fld dword [eax + 8]
fld dword [eax + 4]
fld dword [eax]
mov byte [ecx + 0x480], 0
fld st(0)
fmul st(1)
fld st(3)
fmul st(4)
faddp st(1)
fld st(2)
fmul st(3)
faddp st(1)
fsqrt
fstp st(3)
fstp st(0)
fstp st(0)
fstp dword [ecx + 0x3f0]
mov eax, dword [esi + 0x20]
fld dword [eax + 0xc4]
mov ecx, dword [esi + 0x58]
fld dword [eax + 0xc8]
add eax, 0xc0
mov eax, dword [eax]
fxch st(1)
add ecx, 0xd0
fstp dword [ecx + 4]
mov dword [ecx], eax
fstp dword [ecx + 8]
mov eax, dword [esi + 0x58]
mov ecx, dword [eax + 0x54]
mov edx, dword [eax + 0x50]
push ecx
push edx
call fcn.0043c5d0
mov ecx, dword [esi + 0x58]
add esp, 0x10
mov word [ecx + 0x3cc], ax
mov eax, dword [esi + 0x58]
fld dword [eax + 0x38]
fmul dword [eax + 0x58]
fld dword [eax + 0x34]
fmul dword [eax + 0x54]
faddp st(1)
fld dword [eax + 0x30]
fmul dword [eax + 0x50]
faddp st(1)
fstp dword [eax + 0x3ec]
mov edi, dword [esi + 0x58]
movzx edx, word [edi + 0x3ce]
mov eax, dword [esi + 4]
movzx ecx, word [eax + 0x1e0]
mov dword [ebp - 8], edx
fild dword [ebp - 8]
mov dword [ebp - 8], ecx
fmul dword [0x784248]
fstp dword [ebp - 4]
fild dword [ebp - 8]
fmul dword [0x784248]
fld dword [0x7a1a28]
fmul dword [ebp + 8]
fld dword [ebp - 4]
fcom dword [0x784510]
fnstsw ax
test ah, 1
jne 0x5a5359
fsub dword [0x78450c]
fld st(2)
fcomp dword [0x784510]
fnstsw ax
test ah, 1
jne 0x5a5372
fxch st(2)
fsub dword [0x78450c]
fxch st(2)
fld st(1)
fadd st(1)
fstp dword [ebp - 8]
fsub st(1)
fstp dword [ebp - 4]
fstp st(0)
fcom dword [ebp - 4]
fnstsw ax
test ah, 0x41
je 0x5a538f
fstp st(0)
fld dword [ebp - 4]
fld dword [ebp - 8]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x5a53a0
fstp st(0)
fld dword [ebp - 8]
fmul dword [0x784238]
push ebx
call fcn.0075bc00
mov ecx, eax
mov eax, 0xb60b60b7
imul ecx
add edx, ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add edx, eax
mov word [edi + 0x3ce], dx
mov edi, 0x2c8
sub edi, esi
mov dword [ebp - 0x10], edi
mov edi, 0x308
sub edi, esi
mov dword [ebp - 0x14], edi
mov edi, 0x31c
sub edi, esi
mov dword [ebp - 0x18], edi
mov edi, 0x32c
sub edi, esi
mov dword [ebp - 0x1c], edi
mov edi, 0x35c
sub edi, esi
mov dword [ebp - 8], edi
mov edi, 0x2d8
sub edi, esi
mov dword [ebp - 0x20], edi
mov eax, 0x2b8
mov ebx, 0x380
sub eax, esi
sub ebx, esi
mov edi, 0x2e8
xor edx, edx
sub edi, esi
lea ecx, [esi + 0x38]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], edi
jmp 0x5a5430
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
nop
mov edi, dword [ecx]
fld dword [edi + 0x28]
mov edi, dword [esi + 0x58]
add eax, ecx
fstp dword [eax + edi]
mov eax, dword [ecx]
fld dword [eax + 0x24]
mov eax, dword [ebp - 0x10]
mov edi, dword [esi + 0x58]
add eax, ecx
fstp dword [eax + edi]
mov edi, dword [ecx - 0x10]
mov eax, dword [edi + 0x14]
fld dword [edi + 0x1c]
fcomp dword [eax + 0x1c]
fnstsw ax
test ah, 5
jp 0x5a5468
fld dword [0x7d7d3c]
jmp 0x5a5471
mov eax, dword [edi + 0x14]
fld dword [eax + 0x1c]
fsub dword [edi + 0x1c]
fld dword [edi + 0x1c]
mov eax, dword [esi + 0x58]
mov edi, dword [ebp - 0x14]
add ebx, eax
fadd st(1)
add edi, eax
fsub dword [ebx + ecx]
fstp dword [edi + ecx]
mov edi, dword [esi + 0x58]
mov eax, dword [ecx]
fstp st(0)
mov bl, byte [edi + edx + 0x350]
test bl, bl
mov al, byte [eax + 0x11c]
mov byte [edi + edx + 0x350], al
jne 0x5a54b2
test al, al
je 0x5a54c3
mov eax, dword [edi + 0x3e4]
inc eax
jmp 0x5a54bd
test al, al
jne 0x5a54c3
mov eax, dword [edi + 0x3e4]
dec eax
mov dword [edi + 0x3e4], eax
mov eax, dword [ecx]
mov ebx, dword [ebp - 0x18]
mov eax, dword [eax + 0x114]
mov edi, dword [esi + 0x58]
add ebx, ecx
mov dword [ebx + edi], eax
mov ebx, dword [ebp - 0x1c]
add ebx, ecx
add edi, ebx
cmp eax, dword [edi]
jle 0x5a54e3
mov dword [edi], eax
mov al, byte [esi + 0x84]
test al, al
mov edi, dword [esi + 0x58]
je 0x5a551d
mov eax, dword [ebp - 8]
add eax, ecx
mov dword [eax + edi], 0
fld dword [0x86b394]
mov eax, dword [esi + 0x58]
mov edi, dword [0x86b390]
fstp dword [eax + edx*8 + 0x378]
lea eax, [eax + edx*8 + 0x374]
mov dword [eax], edi
jmp 0x5a554f
mov eax, dword [ecx]
fld dword [eax + 0x170]
mov eax, dword [ebp - 8]
add eax, ecx
fstp dword [eax + edi]
mov eax, dword [ecx]
mov edi, dword [esi + 0x58]
fld dword [eax + 0x104]
add eax, 0x100
mov eax, dword [eax]
fstp dword [edi + edx*8 + 0x378]
lea edi, [edi + edx*8 + 0x374]
mov dword [edi], eax
mov eax, dword [ecx]
fld dword [eax + 0x164]
mov eax, dword [ebp - 0x20]
mov edi, dword [esi + 0x58]
add eax, ecx
fstp dword [eax + edi]
mov eax, dword [ecx]
mov bl, byte [eax + 0x11c]
test bl, bl
je 0x5a5576
fld dword [eax + 0x168]
jmp 0x5a557c
fld dword [0x7d7d3c]
mov eax, dword [ebp - 0x24]
mov edi, dword [esi + 0x58]
add eax, ecx
inc edx
fstp dword [eax + edi]
add ecx, 4
cmp edx, 4
jl 0x5a5429
mov eax, dword [esi + 0x48]
mov cl, byte [eax + 0x88]
test cl, cl
jne 0x5a55ac
fld dword [eax + 0x80]
fmul dword [eax + 0x78]
jmp 0x5a55b2
fld dword [0x7d7d3c]
mov ecx, dword [esi + 0x58]
fstp dword [ecx + 0x3f8]
mov edx, dword [esi + 0x4c]
mov ecx, dword [edx + 0x3c]
mov eax, dword [esi + 0x58]
mov dword [eax + 0x3f4], ecx
mov edx, dword [esi + 0x4c]
mov edi, dword [edx + 0x44]
mov ecx, dword [esi + 0x58]
xor eax, eax
cmp edi, 3
sete al
mov dword [ecx + 0x408], eax
mov edx, dword [esi + 0x4c]
fld dword [edx + 0x70]
mov eax, dword [esi + 0x58]
fstp dword [eax + 0x40c]
mov eax, dword [esi + 0x4c]
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x5a5604
cmp dword [eax + 0x38], 2
jle 0x5a5604
mov bl, 1
jmp 0x5a5606
xor bl, bl
mov edi, dword [esi + 0x48]
fld dword [edi + 0x14]
mov ecx, dword [esi + 0x5c]
mov edx, dword [ecx + 0x10]
fmul dword [0x7a1d28]
fld dword [edx + 0x2f4]
fadd dword [0x784260]
call fcn.0075bc00
xor ecx, ecx
test bl, bl
setne cl
pop ebx
lea edx, [eax + ecx*4]
fld dword [edx*4 + 0x7a1a2c]
mov eax, dword [edi + 0x18]
fchs
fdiv dword [eax + 0xc]
fstp dword [ebp - 8]
fld dword [ebp + 8]
fcomp dword [0x7d7d3c]
fnstsw ax
test ah, 0x41
jne 0x5a56ca
fld dword [0x7fbed8]
fcomp dword [0x784258]
fnstsw ax
test ah, 0x44
jnp 0x5a5671
fld dword [0x7fbed8]
jmp 0x5a567a
mov ecx, dword [esi + 0x58]
fld dword [ecx + 0x400]
fld st(1)
fsub st(1)
fdiv dword [ebp + 8]
fcomp dword [ebp - 8]
fnstsw ax
fstp st(0)
test ah, 5
jp 0x5a56ca
fld dword [0x7fbed8]
fcomp dword [0x784258]
fnstsw ax
test ah, 0x44
jnp 0x5a56a8
fld dword [0x7fbed8]
jmp 0x5a56b1
mov edx, dword [esi + 0x58]
fld dword [edx + 0x400]
fld dword [ebp - 8]
fmul dword [ebp + 8]
faddp st(1)
fst dword [ebp + 8]
fcomp st(1)
fnstsw ax
test ah, 5
jnp 0x5a56ca
fstp st(0)
fld dword [ebp + 8]
fld dword [0x7fbed8]
fcomp dword [0x784258]
fnstsw ax
test ah, 0x44
jnp 0x5a56e5
fld dword [0x7fbed8]
jmp 0x5a56ee
mov eax, dword [esi + 0x58]
fld dword [eax + 0x400]
fmul dword [0x7a20a8]
mov ecx, dword [esi + 0x58]
fxch st(1)
fmul dword [0x7a20a4]
faddp st(1)
fstp dword [ecx + 0x400]
mov edx, dword [esi + 0x38]
fld dword [edx + 0x118]
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x40]
mov edx, dword [esi + 0x44]
fabs
fld dword [eax + 0x118]
fabs
fstp dword [ebp - 8]
fld dword [ecx + 0x118]
fabs
fstp dword [ebp - 4]
fld dword [edx + 0x118]
fabs
fstp dword [ebp + 8]
fcom dword [ebp + 8]
fnstsw ax
test ah, 0x41
je 0x5a574b
fstp st(0)
fld dword [ebp + 8]
fld dword [ebp - 8]
fcomp dword [ebp - 4]
fnstsw ax
test ah, 0x41
jne 0x5a575d
fld dword [ebp - 8]
jmp 0x5a5760
fld dword [ebp - 4]
fld dword [0x784250]
fdiv dword [0x7a1a24]
fld st(0)
fmul st(3)
fstp dword [ebp + 8]
fmul st(1)
fstp st(2)
fstp st(0)
fld dword [ebp + 8]
fcomp dword [0x784250]
fnstsw ax
test ah, 0x41
jne 0x5a5790
mov dword [ebp + 8], 0x3f800000
fcom dword [0x784250]
fnstsw ax
test ah, 0x41
jne 0x5a57a5
fstp st(0)
fld dword [0x784250]
mov eax, dword [esi + 0x58]
mov ecx, dword [ebp + 8]
fstp dword [eax + 0x3e0]
mov dword [eax + 0x3dc], ecx
mov edx, dword [esi + 0x44]
fld dword [edx + 0x170]
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x40]
fadd dword [eax + 0x170]
mov eax, dword [esi + 0x58]
fadd dword [ecx + 0x170]
xor edi, edi
fadd dword [edx + 0x170]
fmul dword [0x784d28]
fstp dword [eax + 0x3d8]
mov esi, dword [esi + 0x58]
nop
push edi
mov ecx, esi
call fcn.00591ea0
inc edi
cmp edi, 4
jl 0x5a57f0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4