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

Disassembly:
sub esp, 0xcc
fld dword [esp + 0xe4]
push ebx
fmul dword [esp + 0xe8]
push ebp
push esi
push edi
mov edi, dword [esp + 0x100]
fstp dword [esp + 0x68]
mov eax, dword [edi + 0xc]
fld dword [eax + 4]
mov eax, dword [eax]
lea ecx, [esp + 0x34]
fchs
push ecx
fstp dword [esp + 0x38]
lea ecx, [esp + 0x60]
mov dword [esp + 0x5c], 0x3f800000
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], eax
call fcn.005a7c60
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x4c], edx
lea edx, [esp + 0x4c]
mov dword [esp + 0x54], ecx
push edx
lea ecx, [esp + 0x50]
mov dword [esp + 0x54], eax
call fcn.005a0a40
fcomp qword [0x606228]
fnstsw ax
test ah, 5
jp 0x5a72c6
fld dword [0x5f53f4]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0x3f800000
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
jmp 0x5a7331
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x50]
call fcn.005a0a40
fsqrt
fst dword [esp + 0x28]
fcomp dword [0x60477c]
fnstsw ax
test ah, 0x44
jnp 0x5a72f5
mov ecx, dword [esp + 0x28]
push ecx
lea ecx, [esp + 0x50]
call fcn.005a7c80
fld dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
lea eax, [esp + 0x5c]
fchs
push eax
fstp dword [esp + 0x64]
lea ecx, [esp + 0x20]
mov dword [esp + 0x68], 0
mov dword [esp + 0x60], edx
call fcn.005a7c60
fld dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
mov ecx, dword [edi + 0xc]
fld dword [esp + 0x3c]
fmul dword [ecx + 8]
mov eax, dword [edi]
fld dword [esp + 0x38]
mov dword [esp + 0x14], 0xbf800000
fmul dword [ecx + 4]
faddp st(1)
fld st(1)
fmul dword [ecx]
faddp st(1)
fabs
fmul dword [esp + 0xf8]
fld dword [ecx + 8]
fabs
fxch st(1)
fxch st(1)
fmul dword [esp + 0xfc]
faddp st(1)
fstp dword [esp + 0x40]
fld dword [ecx + 8]
fmul dword [eax + 8]
fld dword [ecx + 4]
fmul dword [eax + 4]
faddp st(1)
fld dword [ecx]
fmul dword [eax]
faddp st(1)
fld st(0)
fabs
fsub dword [esp + 0x40]
fstp dword [esp + 0x30]
fcomp dword [0x60477c]
fnstsw ax
test ah, 0x41
je 0x5a73a8
mov dword [esp + 0x14], 0x3f800000
fld dword [esp + 0x30]
mov byte [esp + 0x13], 0xc
fcomp dword [esp + 0xf4]
fnstsw ax
test ah, 0x41
jne 0x5a73ce
pop edi
fstp st(0)
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xcc
ret
test byte [edi + 0x18], 2
jne 0x5a73ff
fld dword [esp + 0x14]
fcomp dword [0x60477c]
fnstsw ax
test ah, 5
jp 0x5a73ff
fld dword [esp + 0x30]
mov dword [esp + 0x14], 0x3f800000
fchs
fld dword [esp + 0x40]
fadd st(0), st(0)
fsubp st(1)
fstp dword [esp + 0x30]
mov eax, dword [esp + 0x4c]
fstp dword [esp + 0x78]
mov edx, dword [esp + 0x50]
fld dword [esp + 0x14]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], eax
fmul dword [ecx + 8]
sub esp, 0xc
fstp dword [esp + 8]
fld dword [esp + 0x20]
fmul dword [ecx + 4]
fstp dword [esp + 4]
fld dword [esp + 0x20]
fmul dword [ecx]
lea ecx, [esp + 0x40]
fstp dword [esp]
call fcn.005a1a50
mov eax, dword [esp + 0xe4]
fld dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
fstp dword [eax]
mov edx, dword [esp + 0x3c]
fld dword [esp + 0x3c]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov ecx, dword [edi]
fmul dword [ecx + 8]
fld dword [esp + 0x38]
fmul dword [ecx + 4]
faddp st(1)
fld dword [esp + 0x34]
fmul dword [ecx]
mov ecx, dword [esp + 0xe8]
faddp st(1)
fsub dword [esp + 0x30]
fstp dword [ecx]
fld dword [eax + 8]
fld st(0)
fmulp st(1)
fcom dword [0x606220]
fnstsw ax
test ah, 0x41
jne 0x5a74b8
fstp st(0)
mov eax, 2
jmp 0x5a74cf
fcomp dword [0x5da6c0]
fnstsw ax
test ah, 5
mov eax, 3
jnp 0x5a74cf
mov eax, 1
mov edx, dword [esp + 0xf0]
or eax, 0x200
mov word [edx], ax
mov eax, dword [edi]
mov ecx, dword [eax + 8]
fld dword [eax + 8]
mov dword [esp + 0x2c], ecx
mov ecx, dword [edi + 4]
fld dword [ecx + 8]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 5
jp 0x5a7502
mov edx, dword [ecx + 8]
mov dword [esp + 0x2c], edx
fcom dword [ecx + 8]
fnstsw ax
test ah, 5
jp 0x5a7511
fstp st(0)
fld dword [ecx + 8]
mov ecx, dword [edi + 8]
fld dword [ecx + 8]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 5
jp 0x5a7529
mov eax, dword [ecx + 8]
mov dword [esp + 0x2c], eax
fcom dword [ecx + 8]
fnstsw ax
test ah, 5
jp 0x5a7538
fstp st(0)
fld dword [ecx + 8]
fld dword [esp + 0x2c]
fadd st(1)
fmul dword [0x5da2f8]
fst dword [esp + 0x48]
fabs
fxch st(1)
fsub dword [esp + 0x2c]
fmul dword [0x5da2f8]
fadd dword [esp + 0xfc]
fsubp st(1)
fld dword [esp + 0x30]
fsubr st(1)
fcomp dword [esp + 0xf4]
fnstsw ax
test ah, 0x41
jne 0x5a75b8
fst dword [esp + 0x30]
mov dword [esp + 0x14], 0xbf800000
fld dword [esp + 0x48]
fcomp dword [0x60477c]
fnstsw ax
test ah, 0x41
je 0x5a7598
mov dword [esp + 0x14], 0x3f800000
fcomp dword [esp + 0xf4]
mov byte [esp + 0x13], 0xb
fnstsw ax
test ah, 0x41
jne 0x5a75ba
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xcc
ret
fstp st(0)
mov esi, dword [esp + 0x104]
fld dword [esi]
lea ebx, [esi + 0xc]
fabs
fld dword [esi + 4]
fabs
fld dword [esi + 8]
fabs
fstp dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
fxch st(1)
fstp dword [esp + 0x94]
lea ebp, [esi + 0x18]
sub esp, 0xc
fstp dword [esp + 0xa4]
mov dword [esp + 0xa8], ecx
fld dword [ebx]
lea ecx, [esp + 0x28]
fabs
fld dword [ebx + 4]
fabs
fld dword [ebx + 8]
fabs
fstp dword [esp + 0x30]
mov edx, dword [esp + 0x30]
fxch st(1)
fstp dword [esp + 0xac]
fstp dword [esp + 0xb0]
mov dword [esp + 0x4c], ebx
fld dword [ebp + 8]
fabs
fstp dword [esp + 8]
fld dword [ebp + 4]
fabs
fstp dword [esp + 4]
fld dword [ebp]
mov dword [esp + 0xb4], edx
fabs
fstp dword [esp]
mov dword [esp + 0x94], ebp
call fcn.005a1a50
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov dword [esp + 0xb0], ecx
push esi
mov ecx, esi
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb8], edx
call fcn.005a0a40
fstp dword [esp + 0x1c]
push ebx
mov ecx, ebx
call fcn.005a0a40
fstp dword [esp + 0x20]
push ebp
mov ecx, ebp
call fcn.005a0a40
fstp dword [esp + 0x24]
fld dword [esp + 0x14]
lea eax, [esp + 0x1c]
sub eax, edi
mov dword [esp + 0x84], eax
lea eax, [esp + 0x9c]
xor ecx, ecx
sub eax, esi
mov edx, esi
mov ebp, edi
mov dword [esp + 0x8c], eax
mov edi, edi
mov eax, 1
shl eax, cl
and eax, 3
lea eax, [eax + eax*2]
fld dword [esi + eax*4]
lea eax, [esi + eax*4]
fmul dword [edx + 4]
fld dword [eax + 4]
mov eax, dword [ebp]
fmul dword [edx]
fsubp st(1)
fmul dword [0x5da2f8]
fld dword [eax]
fmul dword [edx + 4]
fld dword [eax + 4]
mov eax, dword [esp + 0x8c]
fmul dword [edx]
fsubp st(1)
fadd st(1)
fstp dword [esp + 0x48]
fld dword [eax + edx]
mov eax, dword [esp + 0x84]
fld st(0)
fmulp st(1)
fsubr dword [eax + ebp]
fcom dword [esp + 0x68]
fnstsw ax
test ah, 0x41
jne 0x5a77c5
fsqrt
fdivr dword [0x5f53f4]
fstp dword [esp + 0x14]
fld dword [esp + 0x48]
fabs
fmul dword [esp + 0x14]
fstp dword [esp + 0x28]
fabs
fmul dword [esp + 0x14]
fst dword [esp + 0x44]
fadd dword [esp + 0xf8]
fsubr dword [esp + 0x28]
fst dword [esp + 0x18]
fsub dword [esp + 0x30]
fcomp dword [esp + 0xf4]
fnstsw ax
test ah, 0x41
jne 0x5a77c9
mov eax, dword [esp + 0x18]
fstp st(0)
fld dword [esp + 0x48]
mov dword [esp + 0x30], eax
fcomp dword [0x60477c]
fnstsw ax
test ah, 0x41
jne 0x5a7787
fld dword [0x5db050]
jmp 0x5a778d
fld dword [0x5f53f4]
fld dword [esp + 0x44]
mov eax, dword [esp + 0x14]
fsub dword [esp + 0x28]
mov dword [esp + 0x58], eax
mov bl, cl
or bl, 8
fstp dword [esp + 0x90]
mov byte [esp + 0x13], bl
fld dword [esp + 0x18]
fcomp dword [esp + 0xf4]
fnstsw ax
test ah, 0x41
je 0x5a73bf
jmp 0x5a77cd
fstp st(0)
fstp st(0)
mov bl, byte [esp + 0x13]
inc ecx
add ebp, 4
add edx, 0xc
cmp ecx, 3
jl 0x5a76c0
fld dword [esp + 0x30]
mov ecx, dword [esp + 0xe0]
mov ebp, dword [esp + 0xec]
fstp dword [ecx]
mov edx, dword [ebp]
mov al, bl
and al, 3
cmp al, 3
mov dword [esp + 0x68], edx
jne 0x5a78dc
mov eax, dword [esp + 0xe4]
fst dword [esp + 0x70]
mov ecx, dword [esp + 0xe8]
fstp dword [eax + 8]
fld dword [esp + 0xfc]
mov dword [eax], 0
fchs
mov dword [eax + 4], 0
fstp dword [ecx]
mov edx, dword [edi]
mov dword [esp + 0x78], 0x3f800000
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x74], 0
fld dword [edx + 8]
fsub dword [esp + 0x2c]
fcomp dword [esp + 0xf4]
fnstsw ax
test ah, 0x41
jp 0x5a787a
mov edx, 1
jmp 0x5a787c
xor edx, edx
mov eax, dword [edi + 4]
fld dword [eax + 8]
fsub dword [esp + 0x2c]
fcomp dword [esp + 0xf4]
fnstsw ax
test ah, 0x41
jp 0x5a789b
mov ecx, 1
jmp 0x5a789d
xor ecx, ecx
mov eax, dword [edi + 8]
fld dword [eax + 8]
fsub dword [esp + 0x2c]
fcomp dword [esp + 0xf4]
fnstsw ax
test ah, 0x41
jp 0x5a78bc
mov eax, 1
jmp 0x5a78be
xor eax, eax
add eax, ecx
mov ecx, dword [esp + 0xf0]
add eax, edx
shl eax, 8
sub eax, 0x100
or eax, 2
mov word [ecx], ax
jmp 0x5a7988
cmp bl, 0xc
je 0x5a7986
and ebx, 3
lea edx, [ebx + ebx*2]
fld dword [esi + edx*4 + 4]
lea eax, [esi + edx*4]
fld dword [eax]
mov dword [esp + 0x74], 0
fchs
fxch st(1)
fmul dword [esp + 0x58]
fstp dword [esp + 0x34]
mov eax, dword [esp + 0x34]
fmul dword [esp + 0x58]
mov ecx, eax
fld dword [esp + 0x58]
mov dword [esp + 0x78], eax
fmul dword [0x60477c]
mov eax, dword [esp + 0xe4]
fst dword [esp + 0x3c]
mov dword [esp + 0x70], ecx
fld st(1)
fstp dword [esp + 0x7c]
fstp dword [esp + 0x80]
fld st(0)
fchs
fstp dword [esp + 0x6c]
fld dword [esp + 0x34]
fmul st(2)
fstp dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
fmul st(1)
mov dword [eax], edx
mov edx, dword [esp + 0x90]
fstp dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
fmul dword [esp + 0x3c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0xf0]
fstp dword [eax + 8]
mov eax, dword [esp + 0xe8]
mov dword [eax], edx
mov word [ecx], 0x103
jmp 0x5a7988
fstp st(0)
mov eax, dword [edi + 4]
mov ecx, dword [edi]
lea edx, [esp + 0x1c]
push edx
push eax
push ecx
call fcn.005a7ce0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc4], edx
lea edx, [esp + 0x28]
mov dword [esp + 0xc8], eax
mov eax, dword [edi + 8]
push edx
mov dword [esp + 0xd0], ecx
mov ecx, dword [edi + 4]
push eax
push ecx
call fcn.005a7ce0
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xdc], edx
lea edx, [esp + 0x74]
mov dword [esp + 0xe0], eax
mov eax, dword [edi]
push edx
mov dword [esp + 0xe8], ecx
mov ecx, dword [edi + 8]
push eax
push ecx
call fcn.005a7ce0
add esp, 0x24
lea edx, [esp + 0x5c]
push edx
lea ecx, [esp + 0x20]
call fcn.005a7c60
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov dword [esp + 0xd4], ecx
mov ecx, dword [edi]
mov dword [esp + 0xd0], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0xd8], edx
fld dword [ecx + 8]
fmul dword [eax + 8]
mov ebx, dword [esp + 0xfc]
fld dword [ecx + 4]
push ecx
fmul dword [eax + 4]
lea edx, [esp + 0x7c]
faddp st(1)
fld dword [ecx]
lea ecx, [esp + 0x70]
fmul dword [eax]
lea eax, [esp + 0xbc]
faddp st(1)
fstp dword [esp]
push eax
mov eax, dword [esp + 0x100]
push esi
push edi
push ecx
push edx
push ebx
push eax
push ebp
call fcn.005a81b0
mov al, byte [edi + 0x18]
add esp, 0x24
test al, 4
je 0x5a7b3b
mov ecx, dword [esp + 0x108]
mov edx, dword [esp + 0xf8]
mov eax, dword [edi]
push ecx
push ebx
push edx
push esi
push eax
mov dword [esp + 0x58], eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x40]
push ecx
mov dword [esp + 0x44], 0
mov dword [esp + 0x34], 0x3f800000
call fcn.005a7d50
add esp, 0x1c
test al, al
je 0x5a7b3b
mov ebx, dword [ebp]
mov eax, dword [esp + 0x28]
push esi
push eax
lea ecx, [esp + 0x24]
lea edx, [ebx + 0xc]
push ecx
mov dword [ebp], edx
call fcn.005a7d20
mov ecx, dword [esp + 0x50]
add esp, 0xc
push eax
lea edx, [esp + 0x60]
push edx
call fcn.005a7cb0
push eax
mov ecx, ebx
call fcn.005a7c60
fld dword [esp + 0x18]
fcomp dword [0x5f53f4]
fnstsw ax
test ah, 5
jp 0x5a7b3b
mov ebx, dword [ebp]
mov ecx, dword [esp + 0x18]
push esi
push ecx
lea edx, [esp + 0x24]
lea eax, [ebx + 0xc]
push edx
mov dword [ebp], eax
call fcn.005a7d20
mov ecx, dword [esp + 0x50]
add esp, 0xc
push eax
lea eax, [esp + 0x60]
push eax
call fcn.005a7cb0
push eax
mov ecx, ebx
call fcn.005a7c60
test byte [edi + 0x18], 8
je 0x5a7c07
mov ecx, dword [esp + 0x108]
mov edx, dword [esp + 0xfc]
mov eax, dword [esp + 0xf8]
mov esi, dword [edi + 4]
push ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
push ecx
push esi
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x34], 0x3f800000
call fcn.005a7d50
add esp, 0x1c
test al, al
je 0x5a7c07
mov ebx, dword [ebp]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x28]
lea ecx, [ebx + 0xc]
push edx
mov dword [ebp], ecx
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.005a7d20
add esp, 0xc
push eax
lea edx, [esp + 0x60]
push edx
mov ecx, esi
call fcn.005a7cb0
push eax
mov ecx, ebx
call fcn.005a7c60
fld dword [esp + 0x18]
fcomp dword [0x5f53f4]
fnstsw ax
test ah, 5
jp 0x5a7c07
mov ebx, dword [ebp]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x18]
lea eax, [ebx + 0xc]
push ecx
mov dword [ebp], eax
push edx
lea eax, [esp + 0x24]
push eax
call fcn.005a7d20
add esp, 0xc
push eax
lea ecx, [esp + 0x60]
push ecx
mov ecx, esi
call fcn.005a7cb0
push eax
mov ecx, ebx
call fcn.005a7c60
test byte [edi + 0x18], 0x10
je 0x5a7c41
mov edx, dword [esp + 0x108]
mov eax, dword [esp + 0xfc]
mov ecx, dword [esp + 0xf8]
push edx
mov edx, dword [esp + 0x8c]
push 0x3f800000
push 0
push eax
mov eax, dword [edi + 8]
push ecx
push edx
push eax
push ebp
call fcn.005a80c0
add esp, 0x20
mov edx, dword [ebp]
mov ecx, dword [esp + 0x68]
pop edi
pop esi
xor eax, eax
cmp edx, ecx
pop ebp
setne al
pop ebx
add esp, 0xcc
ret