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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x234
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x2c]
push esi
push edi
mov edi, dword [ebx + 4]
mov edx, dword [edi + 4]
mov esi, eax
mov dword [esp + 0x54], edi
mov dword [esp + 0x74], eax
call fcn.005d3410
mov esi, eax
mov eax, dword [edi + 0x18]
mov dword [esp + 0x4c], edx
mov edx, dword [edi + 0x20]
lea eax, [eax + eax*4]
lea ecx, [edx + eax*8]
mov eax, dword [ebx + 8]
test byte [eax + 0x24], 1
mov dword [esp + 0x48], esi
mov dword [esp + 0x64], ecx
jne 0x5f3f24
cmp dword [eax + 0x44], 0
jne 0x5f3f24
test byte [edi + 0x16], 0x80
jne 0x5f3f24
mov dword [esp + 0x3c], edx
cmp edx, ecx
jae 0x5f3f24
jmp 0x5f3d34
mov esi, dword [esp + 0x48]
fldz
mov ecx, 0x100
cmp word [edx + 0x10], cx
jne 0x5f3f11
mov ecx, dword [esp + 0x4c]
mov eax, esi
not eax
and eax, dword [ebx + 0x10]
not ecx
and ecx, dword [ebx + 0x14]
and eax, dword [edx + 0x20]
and ecx, dword [edx + 0x24]
or eax, ecx
jne 0x5f3f11
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0x168]
and ecx, esi
mov esi, dword [eax + 0x16c]
and esi, dword [esp + 0x4c]
or ecx, esi
je 0x5f3f11
mov ecx, dword [eax + 0x18]
fld st(0)
lea edx, [ecx + ecx*4]
fst qword [esp + 0x68]
mov ecx, dword [eax + 0x20]
fxch st(1)
lea edx, [ecx + edx*8]
fst qword [esp + 0x58]
xor ecx, ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
mov ecx, 0x18
mov esi, ebx
lea edi, [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], ecx
mov esi, dword [eax + 0x20]
mov dword [esp + 0x70], edx
cmp esi, edx
jae 0x5f3e9b
mov eax, 0x200
cmp word [esi + 0x10], ax
jne 0x5f3de5
mov ecx, dword [esi + 0xc]
jmp 0x5f3e3b
mov eax, dword [esp + 0x74]
cmp dword [esi + 8], eax
jne 0x5f3e90
mov eax, dword [esp + 0x54]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0xe8], eax
xor eax, eax
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xdc], edx
mov byte [esp + 0xec], 0x45
mov dword [esp + 0xf8], esi
mov word [esp + 0xee], ax
mov dword [esp + 0xf0], 1
lea ecx, [esp + 0xd8]
fstp st(1)
lea eax, [esp + 0x78]
fstp st(0)
mov dword [esp + 0x7c], ecx
call fcn.005f0670
fld qword [esp + 0xc8]
fadd qword [esp + 0x68]
mov eax, dword [esp + 0xd4]
or dword [esp + 0x44], eax
mov edx, dword [esp + 0xd0]
or dword [esp + 0x40], edx
fst qword [esp + 0x68]
fld qword [esp + 0xb8]
fadd qword [esp + 0x58]
fst qword [esp + 0x58]
fld qword [ebx + 0x50]
fcomp st(2)
fnstsw ax
test ah, 0x41
jnp 0x5f3e9b
mov edx, dword [esp + 0x70]
add esi, 0x28
cmp esi, edx
jb 0x5f3dd5
cmp dword [ebx + 0x20], 0
je 0x5f3ebf
fstp st(1)
sub esp, 8
fstp qword [esp]
call fcn.005d35f0
fld qword [esp + 0x60]
add esp, 8
fmul st(1), st(0)
fxch st(1)
fadd qword [esp + 0x68]
fxch st(1)
fld qword [ebx + 0x50]
fcomp st(2)
fnstsw ax
test ah, 0x41
jne 0x5f3f0b
mov eax, dword [ebx + 0x2c]
fxch st(1)
mov ecx, dword [esp + 0x40]
fstp qword [ebx + 0x50]
mov edx, dword [esp + 0x44]
fstp qword [ebx + 0x40]
mov dword [ebx + 0x58], ecx
mov dword [ebx + 0x5c], edx
test eax, eax
je 0x5f3ef5
mov ecx, dword [ebx + 0x34]
imul eax, eax, 0x58
movzx eax, word [eax + ecx - 0x52]
jmp 0x5f3ef7
xor eax, eax
mov edx, dword [esp + 0x3c]
mov word [ebx + 0x3e], ax
mov dword [ebx + 0x38], 0x10000000
mov dword [ebx + 0x48], edx
jmp 0x5f3f13
mov edx, dword [esp + 0x3c]
fstp st(1)
fstp st(0)
add edx, 0x28
mov dword [esp + 0x3c], edx
cmp edx, dword [esp + 0x64]
jb 0x5f3d30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret