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

Disassembly:
push 0xffffffffffffffff
push 0x64a2bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd0
push ebx
push ebp
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x28], edi
lea eax, [esp + 0x28]
push eax
lea ebx, [esi + 0x40]
sub esp, 0xc
mov ecx, ebx
mov eax, dword [ecx]
mov edx, esp
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
mov ecx, dword [esi + 0xc0]
mov dword [esp + 0xf8], edi
call fcn.00595c70
mov edx, edi
mov dword [esp + 0x34], edx
mov dword [esp + 0x20], 0x3f800000
mov eax, dword [esp + 0x20]
mov dword [esp + 0x38], eax
mov ecx, edi
mov dword [esp + 0x3c], ecx
sub esp, 0xc
mov edx, ebx
mov ecx, dword [edx]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0xc0]
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], edi
mov dword [eax + 8], edx
call fcn.00595b70
fadd dword [esi + 0x50]
fcom dword [esi + 0x44]
fnstsw ax
test ah, 5
jp 0x5b4a3a
fstp st(0)
jmp 0x5b4d77
mov ecx, dword [esp + 0x2c]
fstp dword [esi + 0x44]
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
xor ebp, ebp
test eax, eax
jle 0x5b4d77
mov dword [esp + 0x74], 0x47ea6000
mov dword [esp + 0x44], ebp
mov ecx, dword [esp + 0x28]
lea eax, [edi + ecx]
mov edx, eax
mov ecx, dword [edx]
mov dword [esp + 0x94], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x98], ecx
mov edx, dword [edx + 8]
lea ecx, [eax + 0xc]
mov dword [esp + 0x9c], edx
mov edx, dword [ecx]
mov dword [esp + 0xa0], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0xa4], edx
mov ecx, dword [ecx + 8]
add eax, 0x18
mov dword [esp + 0xa8], ecx
mov edx, dword [eax]
mov dword [esp + 0xac], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0xb0], ecx
mov edx, dword [eax + 8]
mov eax, dword [ebx]
mov ecx, dword [esi + 0x48]
mov dword [esp + 0xb4], edx
mov edx, eax
mov dword [esp + 0x70], eax
mov eax, ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x40], edx
lea ecx, [esp + 0xdc]
push ecx
mov ecx, dword [esp + 0x74]
lea edx, [esp + 0x98]
push edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x50], eax
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x8c]
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 dword [edx + 8], eax
call fcn.00576ca6
add esp, 0x20
test eax, eax
je 0x5b4d57
fld dword [esp + 0xac]
fsub dword [esp + 0xa0]
fld dword [esp + 0xb0]
fsub dword [esp + 0xa4]
fld dword [esp + 0xb4]
fsub dword [esp + 0xa8]
fld dword [esp + 0xa0]
fsub dword [esp + 0x94]
fstp dword [esp + 0x64]
fld dword [esp + 0xa4]
fsub dword [esp + 0x98]
fstp dword [esp + 0x68]
fld dword [esp + 0xa8]
fsub dword [esp + 0x9c]
fld dword [esp + 0x68]
fmul st(2)
fld st(1)
fmul st(4)
fsubp st(1)
fstp dword [esp + 0x4c]
mov ecx, dword [esp + 0x4c]
fmul st(3)
mov dword [esp + 0x10], ecx
fxch st(1)
fmul dword [esp + 0x64]
fsubp st(1)
fstp dword [esp + 0x50]
mov edx, dword [esp + 0x50]
fmul dword [esp + 0x64]
mov dword [esp + 0x14], edx
fld dword [esp + 0x68]
fmul st(2)
fsubp st(1)
fstp dword [esp + 0x54]
mov eax, dword [esp + 0x54]
fstp st(0)
mov dword [esp + 0x18], eax
fld dword [esp + 0x18]
fmul dword [esp + 0x18]
fld dword [esp + 0x14]
fmul dword [esp + 0x14]
faddp st(1)
fld dword [esp + 0x10]
fmul dword [esp + 0x10]
faddp st(1)
fsqrt
fcom dword [0x64fed4]
fnstsw ax
test ah, 0x41
jp 0x5b4c22
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
jmp 0x5b4c46
fdivr dword [0x64fe64]
fld dword [esp + 0x10]
fmul st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x14]
fmul st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x18]
fmul st(1)
fstp dword [esp + 0x18]
fstp st(0)
fld dword [esp + 0x3c]
fmul dword [esp + 0x18]
fld dword [esp + 0x38]
fmul dword [esp + 0x14]
faddp st(1)
fld dword [esp + 0x34]
fmul dword [esp + 0x10]
faddp st(1)
call fcn.00619150
fcomp qword [0x665de8]
fnstsw ax
test ah, 0x41
jne 0x5b4d57
fld dword [esp + 0x10]
fsub dword [esp + 0x34]
fstp dword [esp + 0x58]
mov ecx, dword [esp + 0x58]
fld dword [esp + 0x14]
mov dword [esp + 0x1c], ecx
fsub dword [esp + 0x38]
lea ecx, [esp + 0x1c]
fstp dword [esp + 0x5c]
mov edx, dword [esp + 0x5c]
fld dword [esp + 0x18]
mov dword [esp + 0x20], edx
fsub dword [esp + 0x3c]
fstp dword [esp + 0x60]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x24], eax
call fcn.004181c0
fld dword [esp + 0x20]
fabs
fld dword [esp + 0x1c]
fmul st(1)
fld st(1)
fmul dword [0x64fe74]
fstp dword [esp + 0x8c]
fld dword [esp + 0x24]
fmul st(2)
fstp dword [esp + 0x90]
fmul dword [0x658084]
fstp dword [esp + 0x7c]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x1c], ecx
fstp st(0)
fld dword [esp + 0x8c]
fmul dword [0x658084]
fstp dword [esp + 0x80]
mov edx, dword [esp + 0x80]
fld dword [esp + 0x90]
mov dword [esp + 0x20], edx
fmul dword [0x658084]
fstp dword [esp + 0x84]
mov eax, dword [esp + 0x84]
fld dword [esp + 0x1c]
mov dword [esp + 0x24], eax
fadd dword [esi + 0x34]
fstp dword [esi + 0x34]
fld dword [esp + 0x20]
fadd dword [esi + 0x38]
fstp dword [esi + 0x38]
fld dword [esp + 0x24]
fadd dword [esi + 0x3c]
fstp dword [esi + 0x3c]
mov ecx, dword [esp + 0x2c]
mov eax, 0x55555556
imul ecx
mov ecx, edx
shr ecx, 0x1f
inc ebp
add ecx, edx
add edi, 0x24
cmp ebp, ecx
jl 0x5b4a65
xor edi, edi
mov eax, dword [esp + 0x28]
cmp eax, edi
mov dword [esp + 0x2c], edi
je 0x5b4d8c
push eax
call fcn.00616a81
add esp, 4
mov ecx, dword [esp + 0xe0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xdc
ret