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

Disassembly:
sub esp, 0xe0
fldz
push ebx
push ebp
mov ebp, dword [esp + 0xec]
mov ecx, dword [ebp + 8]
push esi
mov esi, eax
mov eax, dword [ebp + 4]
push edi
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
call fcn.005e7ae2
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fmul qword [esp + 0xf8]
fdiv qword [0x6385d0]
fst qword [esp + 0x58]
call fcn.005e7e1e
fstp dword [esp + 0x50]
fld qword [esp + 0x58]
call fcn.005e7e18
fstp dword [esp + 0x54]
fild dword [esp + 0x48]
fld qword [0x638508]
fsub st(1), st(0)
fxch st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fst dword [esp + 0x14]
fild dword [esp + 0x4c]
fsub st(2)
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fst dword [esp + 0xac]
fstp dword [esp + 0x5c]
fstp dword [esp + 0x58]
fld dword [esp + 0x54]
fld st(0)
fld qword [0x6385c8]
fmul st(1), st(0)
fld dword [esp + 0x50]
fld st(0)
fmulp st(2)
fld st(2)
fsub st(2)
fstp dword [esp + 0x68]
fld st(1)
fadd st(3)
fstp dword [esp + 0x6c]
fld dword [esp + 0x14]
fld st(0)
fmul st(5)
fsub st(3)
fstp dword [esp + 0x70]
fmul st(1)
fadd st(3)
fstp dword [esp + 0x74]
fld dword [esp + 0xac]
fld st(0)
fmul st(2)
fsubp st(4)
fxch st(3)
fstp dword [esp + 0x78]
fld st(3)
fmulp st(3)
fxch st(2)
faddp st(1)
fstp dword [esp + 0x7c]
fld dword [esp + 0x58]
fld st(0)
fmul st(3)
fld dword [esp + 0x5c]
fld st(0)
fmul st(4)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x80]
fmulp st(3)
fmulp st(1)
faddp st(1)
fstp dword [esp + 0x84]
fld dword [esp + 0x78]
fld dword [esp + 0x80]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x5b63bd
fxch st(1)
fst dword [esp + 0x28]
jmp 0x5b63c3
fst dword [esp + 0x28]
fxch st(1)
fld dword [esp + 0x68]
fld dword [esp + 0x70]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x5b63d8
fstp st(0)
jmp 0x5b63da
fstp st(1)
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fld dword [esp + 0x28]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x5b63f3
fstp st(0)
jmp 0x5b63f5
fstp st(1)
fstp dword [esp + 0x2c]
fld dword [esp + 0x7c]
fld dword [esp + 0x84]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x5b6411
fstp st(0)
jmp 0x5b6413
fstp st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x6c]
fld dword [esp + 0x74]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x5b6430
fstp st(0)
fst dword [esp + 0x24]
jmp 0x5b6434
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fld dword [esp + 0x28]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x5b6449
fstp st(0)
jmp 0x5b644b
fstp st(1)
fstp dword [esp + 0x28]
fxch st(1)
fcom st(2)
fnstsw ax
test ah, 0x41
jne 0x5b645e
fstp st(2)
jmp 0x5b6460
fstp st(0)
fxch st(1)
fstp dword [esp + 0x30]
fld dword [esp + 0x68]
fld dword [esp + 0x70]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x5b647b
fstp st(0)
jmp 0x5b647d
fstp st(1)
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fld dword [esp + 0x30]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x5b6496
fstp st(0)
jmp 0x5b6498
fstp st(1)
fstp dword [esp + 0x30]
fld dword [esp + 0x7c]
fld dword [esp + 0x84]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x5b64b4
fstp st(0)
jmp 0x5b64b6
fstp st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x74]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x5b64cb
fstp st(0)
jmp 0x5b64cd
fstp st(1)
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fld dword [esp + 0x1c]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x5b64e6
fstp st(0)
jmp 0x5b64e8
fstp st(1)
fstp dword [esp + 0x1c]
sub esp, 8
fld dword [esp + 0x38]
fsub dword [esp + 0x34]
faddp st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fstp qword [esp]
call fcn.005e7adc
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
call fcn.005e7a30
fld dword [esp + 0x24]
fsub dword [esp + 0x30]
mov ebx, eax
mov dword [esp + 0x68], ebx
fadd qword [0x638508]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fstp qword [esp]
call fcn.005e7adc
fstp dword [esp + 0x28]
add esp, 8
fld dword [esp + 0x20]
call fcn.005e7a30
fld dword [esp + 0x30]
mov edi, eax
fadd dword [esp + 0x2c]
fild dword [esp + 0x60]
mov eax, ebx
sub eax, dword [esp + 0x48]
mov dword [esp + 0x20], edi
cdq
fsub qword [0x6384d8]
sub eax, edx
sar eax, 1
neg eax
fsubp st(1)
add dword [esi], eax
mov eax, dword [esi]
fmul qword [0x638508]
add eax, ebx
mov dword [esi + 8], eax
mov eax, edi
sub eax, dword [esp + 0x4c]
fstp dword [esp + 0xa8]
cdq
sub eax, edx
sar eax, 1
neg eax
add dword [esi + 4], eax
mov eax, dword [esi + 4]
add eax, edi
lea edx, [esp + 0x68]
push edx
mov dword [esi + 0xc], eax
mov eax, dword [ebp]
push 0x18
push eax
lea esi, [ebx*4]
call dword [0x6100b4]
mov ebp, dword [esp + 0x7c]
push 0x2c
lea ecx, [esp + 0xc8]
push 0
push ecx
call fcn.005e6f30
xor eax, eax
add esp, 0xc
imul esi, edi
push eax
mov dword [esp + 0xc8], 0x28
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd0], edi
mov word [esp + 0xd4], 1
mov word [esp + 0xd6], 0x20
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], esi
mov dword [esp + 0x30], eax
push eax
lea edx, [esp + 0x34]
push edx
push eax
lea ecx, [esp + 0xd4]
push ecx
push eax
call dword [0x6100f4]
fld dword [esp + 0x1c]
test edi, edi
fadd dword [esp + 0x28]
fild dword [esp + 0x20]
mov dword [esp + 0x58], eax
fsub qword [0x6384d8]
fsubp st(1)
fmul qword [0x638508]
fstp dword [esp + 0x24]
jle 0x5b6ad1
fldz
mov dword [esp + 0x28], 0
fld dword [esp + 0x54]
mov dword [esp + 0x20], edi
fld dword [esp + 0x50]
test ebx, ebx
fld dword [esp + 0xa8]
fstp dword [esp + 0x34]
jle 0x5b6aa3
fld dword [esp + 0x24]
mov edi, dword [esp + 0x28]
fld st(0)
mov dword [esp + 0x30], edi
fmul st(2)
mov dword [esp + 0x64], ebx
fstp qword [esp + 0xb0]
fmul st(2)
fstp qword [esp + 0xb8]
fld dword [esp + 0x34]
fld st(0)
fmul st(3)
fadd qword [esp + 0xb0]
fstp dword [esp + 0x34]
fld st(0)
fmul st(2)
fsubr qword [esp + 0xb8]
fstp dword [esp + 0x14]
fld dword [esp + 0x34]
fld st(0)
call fcn.005e7a30
fcom st(4)
mov esi, eax
mov dword [esp + 0x1c], eax
fnstsw ax
test ah, 5
jp 0x5b66e4
sub esi, 1
mov dword [esp + 0x1c], esi
fld dword [esp + 0x14]
fld st(0)
call fcn.005e7a30
fcom st(5)
mov ecx, eax
mov dword [esp + 0x34], eax
fnstsw ax
test ah, 5
jp 0x5b6705
sub ecx, 1
mov dword [esp + 0x34], ecx
cmp esi, 0xffffffff
jl 0x5b6a54
mov edi, dword [esp + 0x48]
cmp esi, edi
jge 0x5b6a50
cmp ecx, 0xffffffff
jl 0x5b6a50
cmp ecx, dword [esp + 0x4c]
jge 0x5b6a50
fstp st(4)
mov dword [esp + 0x8c], ecx
fstp st(2)
mov dword [esp + 0x94], ecx
fstp st(3)
add ecx, 1
fisub dword [esp + 0x1c]
lea eax, [esi + 1]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0x90], eax
mov dword [esp + 0xa0], eax
xor ecx, ecx
mov dword [esp + 0x88], esi
fstp dword [esp + 0x1c]
mov dword [esp + 0x98], esi
xor eax, eax
fisub dword [esp + 0x34]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld st(0)
fld dword [esp + 0x1c]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x14]
fld st(0)
fld dword [esp + 0x14]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x1c]
fld st(0)
fsubp st(3)
fxch st(2)
fstp dword [esp + 0x14]
fld1
fsubrp st(1)
fld dword [esp + 0x14]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x34]
jmp 0x5b67cd
mov edi, dword [esp + 0x48]
xor ecx, ecx
cmp dword [esp + eax*8 + 0x88], ecx
mov dl, 1
jge 0x5b67e1
xor dl, dl
mov dword [esp + eax*8 + 0x88], ecx
cmp dword [esp + eax*8 + 0x88], edi
jl 0x5b67f6
lea esi, [edi - 1]
xor dl, dl
mov dword [esp + eax*8 + 0x88], esi
cmp dword [esp + eax*8 + 0x8c], ecx
jge 0x5b6808
xor dl, dl
mov dword [esp + eax*8 + 0x8c], ecx
mov ecx, dword [esp + 0x4c]
cmp dword [esp + eax*8 + 0x8c], ecx
jl 0x5b6821
xor dl, dl
add ecx, 0xffffffff
mov dword [esp + eax*8 + 0x8c], ecx
mov esi, dword [esp + eax*8 + 0x8c]
lea ecx, [edi*4]
imul esi, ecx
test dl, dl
mov ecx, dword [esp + eax*8 + 0x88]
lea ecx, [esi + ecx*4]
movzx ebx, byte [ecx + ebp]
mov byte [esp + eax*4 + 0x38], bl
movzx ebx, byte [ecx + ebp + 1]
mov byte [esp + eax*4 + 0x39], bl
movzx ebx, byte [ecx + ebp + 2]
mov byte [esp + eax*4 + 0x3a], bl
je 0x5b6864
mov dl, byte [ecx + ebp + 3]
mov byte [esp + eax*4 + 0x3b], dl
jmp 0x5b6869
mov byte [esp + eax*4 + 0x3b], 0
add eax, 1
cmp eax, 4
jl 0x5b67c7
movzx eax, byte [esp + 0x43]
movzx ecx, byte [esp + 0x3b]
movzx edx, byte [esp + 0x3f]
mov dword [esp + 0x14], eax
movzx eax, byte [esp + 0x47]
fild dword [esp + 0x14]
mov dword [esp + 0x14], ecx
fmul st(1)
mov ecx, dword [esp + 0x30]
fild dword [esp + 0x14]
mov dword [esp + 0x14], edx
fld dword [esp + 0x34]
fld st(0)
fmulp st(2)
fxch st(2)
faddp st(1)
fild dword [esp + 0x14]
mov dword [esp + 0x14], eax
fld dword [esp + 0x1c]
fld st(0)
fmulp st(2)
fxch st(2)
fnstcw word [esp + 0x1c]
movzx eax, word [esp + 0x1c]
faddp st(1)
fild dword [esp + 0x14]
or eax, 0xc00
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
fmul st(5)
faddp st(1)
fldcw word [esp + 0x14]
fistp dword [esp + 0x14]
movzx edx, byte [esp + 0x14]
mov byte [ecx + eax + 3], dl
movzx edx, byte [esp + 0x38]
fldcw word [esp + 0x1c]
movzx eax, byte [esp + 0x40]
mov dword [esp + 0x14], edx
movzx edx, byte [esp + 0x3c]
fild dword [esp + 0x14]
mov dword [esp + 0x14], eax
fnstcw word [esp + 0x1c]
movzx eax, byte [esp + 0x44]
fmul st(2)
fild dword [esp + 0x14]
mov dword [esp + 0x14], edx
fmul st(4)
faddp st(1)
fild dword [esp + 0x14]
mov dword [esp + 0x14], eax
movzx eax, word [esp + 0x1c]
or eax, 0xc00
fmul st(2)
faddp st(1)
fild dword [esp + 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
fmul st(5)
faddp st(1)
fldcw word [esp + 0x14]
fistp dword [esp + 0x14]
movzx edx, byte [esp + 0x14]
mov byte [ecx + eax], dl
movzx edx, byte [esp + 0x39]
fldcw word [esp + 0x1c]
movzx eax, byte [esp + 0x41]
mov dword [esp + 0x14], edx
movzx edx, byte [esp + 0x3d]
fild dword [esp + 0x14]
mov dword [esp + 0x14], eax
movzx eax, byte [esp + 0x45]
fmul st(2)
fild dword [esp + 0x14]
mov dword [esp + 0x14], edx
fmul st(4)
faddp st(1)
fild dword [esp + 0x14]
mov dword [esp + 0x14], eax
fmul st(2)
faddp st(1)
fild dword [esp + 0x14]
mov ebx, dword [esp + 0x60]
fnstcw word [esp + 0x1c]
mov edi, ecx
movzx eax, word [esp + 0x1c]
fmul st(5)
or eax, 0xc00
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
faddp st(1)
fldcw word [esp + 0x14]
fistp dword [esp + 0x14]
movzx edx, byte [esp + 0x14]
mov byte [ecx + eax + 1], dl
movzx edx, byte [esp + 0x3a]
fldcw word [esp + 0x1c]
movzx eax, byte [esp + 0x42]
mov dword [esp + 0x14], edx
movzx edx, byte [esp + 0x3e]
fild dword [esp + 0x14]
mov dword [esp + 0x14], eax
fnstcw word [esp + 0x1c]
movzx eax, byte [esp + 0x46]
fmulp st(2)
fild dword [esp + 0x14]
mov dword [esp + 0x14], edx
fmulp st(3)
fxch st(1)
faddp st(2)
fild dword [esp + 0x14]
mov dword [esp + 0x14], eax
movzx eax, word [esp + 0x1c]
or eax, 0xc00
fmulp st(1)
faddp st(1)
fild dword [esp + 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
fmulp st(2)
faddp st(1)
fldcw word [esp + 0x14]
fistp dword [esp + 0x14]
movzx edx, byte [esp + 0x14]
mov byte [ecx + eax + 2], dl
fldcw word [esp + 0x1c]
fld dword [esp + 0x50]
fld dword [esp + 0x54]
fldz
jmp 0x5b6a83
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
fstp st(1)
mov byte [edi + ecx], 0
fstp st(0)
mov edx, dword [esp + 0x2c]
fxch st(3)
mov byte [edi + edx + 1], 0
fxch st(1)
mov eax, dword [esp + 0x2c]
fxch st(2)
mov byte [edi + eax + 2], 0
fxch st(1)
mov ecx, dword [esp + 0x2c]
mov byte [edi + ecx + 3], 0
fxch st(3)
add edi, 4
sub dword [esp + 0x64], 1
fadd qword [0x6384d8]
mov dword [esp + 0x30], edi
fstp dword [esp + 0x34]
fxch st(1)
jne 0x5b66a1
fld dword [esp + 0x24]
lea eax, [ebx*4]
fadd qword [0x6384d8]
add dword [esp + 0x28], eax
sub dword [esp + 0x20], 1
fstp dword [esp + 0x24]
jne 0x5b666a
mov eax, dword [esp + 0x58]
fstp st(1)
fstp st(0)
fstp st(0)
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe0
ret