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

Disassembly:
push 0xffffffffffffffff
push 0x87611c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3cc
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x74]
mov dword [esp + 0x48], esi
call fcn.0077b9e0
push 6
lea ecx, [esp + 0x78]
mov dword [esp + 0x3e8], 0
mov byte [esp + 0xcc], 1
mov dword [esp + 0xf0], 2
call fcn.007658a0
mov esi, dword [esi + 0x1968]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x5fe8b5
cmp dword [eax], 0
jne 0x5fe8b5
mov ecx, dword [0x91e00c]
push eax
call fcn.005fa780
mov eax, dword [esi + 0x10]
test eax, eax
je 0x5fe8cd
cmp dword [eax], 0
jne 0x5fe8cd
mov ecx, dword [0x91e00c]
push eax
call fcn.005fa780
mov ecx, dword [esi + 8]
call fcn.005d9a10
mov eax, dword [esp + 0x3ec]
mov esi, dword [esp + 0x3f4]
mov ebp, dword [esp + 0x3f8]
shl esi, 4
fld dword [esi + eax]
lea edi, [esi + eax]
shl ebp, 4
fsub dword [eax + ebp]
lea ecx, [eax + ebp]
fld dword [edi + 4]
mov dword [esp + 0x40], ecx
fsub dword [ecx + 4]
fld dword [edi + 8]
fsub dword [ecx + 8]
fld st(2)
fmul st(3)
fld st(1)
fmul st(2)
faddp st(1)
fld st(2)
fmul st(3)
faddp st(1)
fstp dword [esp + 0x18]
mov eax, dword [esp + 0x18]
fstp st(0)
push eax
fstp st(0)
fstp st(0)
call fcn.005c5e80
mov ebx, dword [esp + 0x3f4]
fstp dword [esp + 0x34]
add esp, 4
push 0x3f800000
push 1
add esi, ebx
push esi
push edi
lea ecx, [esp + 0x84]
call fcn.007862d0
mov al, byte [esp + 0xc4]
test al, al
je 0x5feeae
mov ecx, dword [esp + 0x3f8]
cmp dword [esp + 0x3f4], ecx
mov dword [esp + 0x18], 0
jne 0x5fea0a
mov edi, dword [esp + 0x102]
mov eax, dword [0x9b38c0]
movsx edx, di
imul edx, edx, 0x16
movzx ecx, word [edx + eax + 4]
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
fmul dword [0x8f5b50]
fstp dword [esp + 0x2c]
lea esp, [esp]
fld dword [0x89096c]
fsub dword [esp + 0x104]
fmul dword [esp + 0x2c]
fld dword [0x890dc4]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x5fe9dc
fstp st(0)
mov dword [esp + 0x14], 0x3c23d70a
jmp 0x5fe9e0
fstp dword [esp + 0x14]
mov edx, dword [esp + 0x14]
push 0
push esi
push edx
lea ecx, [esp + 0x80]
call fcn.0077bba0
fld dword [esp + 0x14]
cmp di, word [esp + 0x102]
fadd dword [esp + 0x18]
fstp dword [esp + 0x18]
je 0x5fe9b0
lea ecx, [esp + 0x34]
call fcn.005e6e80
mov dword [esp + 0x38], eax
mov byte [eax + 0x1d], 1
mov eax, dword [esp + 0x38]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x38]
mov dword [eax], eax
mov eax, dword [esp + 0x38]
mov dword [eax + 8], eax
mov dword [esp + 0x3c], 0
mov eax, dword [0x9b38b4]
mov edi, dword [esp + 0x40]
mov ecx, 0x1010101
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ecx
add ebp, ebx
mov byte [esp + 0x3e4], 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x68], ecx
mov byte [esp + 0x13], 1
mov dword [esp + 0x2c], ebp
lea esp, [esp]
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x4c]
push edx
push eax
push edi
lea ecx, [esp + 0x80]
mov dword [esp + 0x360], 0
mov dword [esp + 0xf8], 2
call fcn.00788fa0
cmp dword [esp + 0xec], 3
sete al
test al, al
je 0x5febd5
lea ecx, [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.00765240
lea ecx, [esp + 0x74]
call fcn.007661d0
fstp dword [esp + 0x30]
lea ecx, [esp + 0x74]
call fcn.00765350
cmp al, 0xff
sete bl
test bl, bl
mov byte [esp + 0x13], bl
jne 0x5feaf8
movzx edx, al
mov byte [esp + edx + 0x4c], bl
lea ecx, [esp + 0x20]
call fcn.005e6e40
mov dword [esp + 0x24], eax
mov byte [eax + 0xf], 1
mov eax, dword [esp + 0x24]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x24]
mov dword [eax], eax
mov eax, dword [esp + 0x24]
xor esi, esi
mov dword [eax + 8], eax
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x354]
test eax, eax
mov byte [esp + 0x3e4], 2
mov ebp, eax
jle 0x5feb76
mov ecx, dword [esp + 0x358]
movzx eax, word [ecx + esi*2]
mov edx, dword [0x9b38c0]
imul eax, eax, 0x16
mov cl, byte [eax + edx + 0xa]
add eax, edx
test cl, 1
jne 0x5feb71
add eax, 6
push eax
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x28]
call fcn.005f2290
inc esi
cmp esi, ebp
jl 0x5feb40
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x3c]
call fcn.005f96e0
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
push eax
push ecx
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3f0], 1
call fcn.005f2cd0
mov eax, dword [esp + 0x24]
xor esi, esi
cmp eax, esi
je 0x5febbf
push esi
push 0x10
push eax
mov ecx, 0x925b30
call fcn.005d0370
test bl, bl
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
je 0x5fea80
mov edi, dword [esp + 0x3c]
jmp 0x5febe5
mov al, byte [esp + 0x13]
test al, al
je 0x5febe3
mov edi, dword [esp + 0x3c]
jmp 0x5febe5
xor edi, edi
test edi, edi
fld dword [esp + 0x18]
fadd dword [esp + 0x30]
mov dword [esp + 0x14], edi
fstp dword [esp + 0x30]
jne 0x5fec09
mov eax, dword [esp + 0x48]
mov byte [eax + 0x4549], 1
jmp 0x5fee6e
cmp edi, 1
jle 0x5fee6e
mov esi, dword [esp + 0x38]
mov ecx, dword [esi]
cmp ecx, esi
je 0x5fec77
lea edx, [esp + 0x35c]
lea eax, [ecx + 0xc]
mov dword [edx], eax
mov al, byte [ecx + 0x1d]
add edx, 4
test al, al
jne 0x5fec73
mov eax, dword [ecx + 8]
mov bl, byte [eax + 0x1d]
test bl, bl
jne 0x5fec54
mov ecx, eax
mov eax, dword [ecx]
mov bl, byte [eax + 0x1d]
test bl, bl
jne 0x5fec73
mov ecx, eax
mov eax, dword [ecx]
mov bl, byte [eax + 0x1d]
test bl, bl
je 0x5fec47
jmp 0x5fec73
mov eax, dword [ecx + 4]
mov bl, byte [eax + 0x1d]
test bl, bl
jne 0x5fec71
mov edi, edi
cmp ecx, dword [eax + 8]
jne 0x5fec71
mov ecx, eax
mov eax, dword [eax + 4]
mov bl, byte [eax + 0x1d]
test bl, bl
je 0x5fec60
mov ecx, eax
cmp ecx, esi
jne 0x5fec23
mov eax, 1
cmp edi, eax
mov dword [esp + 0x18], eax
jle 0x5fee72
jmp 0x5fec90
mov esi, dword [esp + eax*4 + 0x358]
mov edi, dword [esp + eax*4 + 0x35c]
lea ecx, [esp + 0x1c]
call fcn.005e6e40
mov dword [esp + 0x20], eax
mov byte [eax + 0xf], 1
mov eax, dword [esp + 0x20]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x20]
mov dword [eax], eax
mov eax, dword [esp + 0x20]
mov dword [eax + 8], eax
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov eax, dword [edi + 8]
mov ebp, dword [eax]
mov ecx, dword [esi + 8]
mov ebx, dword [ecx]
push edx
lea edx, [esp + 0x20]
push edx
push eax
push ebp
push ecx
lea edx, [esp + 0x80]
push ebx
push edx
mov byte [esp + 0x400], 3
call fcn.005f6990
fld dword [0x890968]
fld dword [edi]
mov edx, dword [esp + 0x3c]
fsub dword [esi]
mov esi, dword [edx]
mov eax, esi
add esp, 0x1c
cmp eax, edx
fstp dword [esp + 0x2c]
je 0x5fee1d
mov edi, dword [0x9b38c8]
movsx ecx, word [eax + 0xc]
lea ecx, [edi + ecx*8]
movzx ecx, word [ecx + 2]
mov dword [esp + 0x40], ecx
mov cl, byte [eax + 0xf]
test cl, cl
fild dword [esp + 0x40]
fmul dword [0x8f5b30]
faddp st(1)
jne 0x5fed83
mov ecx, dword [eax + 8]
mov bl, byte [ecx + 0xf]
test bl, bl
jne 0x5fed65
mov eax, ecx
mov ecx, dword [eax]
mov bl, byte [ecx + 0xf]
test bl, bl
jne 0x5fed83
mov eax, ecx
mov ecx, dword [eax]
mov bl, byte [ecx + 0xf]
test bl, bl
je 0x5fed58
jmp 0x5fed83
mov ecx, dword [eax + 4]
mov bl, byte [ecx + 0xf]
test bl, bl
jne 0x5fed81
nop
cmp eax, dword [ecx + 8]
jne 0x5fed81
mov eax, ecx
mov ecx, dword [ecx + 4]
mov bl, byte [ecx + 0xf]
test bl, bl
je 0x5fed70
mov eax, ecx
cmp eax, edx
jne 0x5fed21
fcom dword [0x890968]
fnstsw ax
test ah, 0x41
jne 0x5fee1d
cmp esi, edx
fld dword [esp + 0x2c]
fadd st(1)
fdivrp st(1)
je 0x5fee1d
fmul dword [0x893348]
call fcn.007c4b80
sar eax, 8
jmp 0x5fedc0
mov edi, dword [0x9b38c8]
lea ebx, [ebx]
movsx edx, word [esi + 0xc]
lea ecx, [edi + edx*8]
mov word [ecx], ax
mov cl, byte [esi + 0xf]
test cl, cl
jne 0x5fee13
mov ecx, dword [esi + 8]
mov dl, byte [ecx + 0xf]
test dl, dl
jne 0x5fedf3
mov esi, ecx
mov ecx, dword [esi]
mov dl, byte [ecx + 0xf]
test dl, dl
jne 0x5fee13
mov esi, ecx
mov ecx, dword [esi]
mov dl, byte [ecx + 0xf]
test dl, dl
je 0x5fede6
jmp 0x5fee13
mov ecx, dword [esi + 4]
mov dl, byte [ecx + 0xf]
test dl, dl
jne 0x5fee11
lea ecx, [ecx]
cmp esi, dword [ecx + 8]
jne 0x5fee11
mov esi, ecx
mov ecx, dword [ecx + 4]
mov dl, byte [ecx + 0xf]
test dl, dl
je 0x5fee00
mov esi, ecx
mov edx, dword [esp + 0x20]
cmp esi, edx
jne 0x5fedb4
jmp 0x5fee1f
fstp st(0)
mov eax, dword [edx]
push edx
push eax
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x3f0], 1
call fcn.005f2cd0
mov eax, dword [esp + 0x20]
xor esi, esi
cmp eax, esi
je 0x5fee51
push esi
push 0x10
push eax
mov ecx, 0x925b30
call fcn.005d0370
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], eax
jl 0x5fec90
mov esi, dword [esp + 0x38]
mov eax, dword [esi]
push esi
push eax
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x40]
mov byte [esp + 0x3f0], 0
call fcn.005fa300
mov eax, dword [esp + 0x38]
xor esi, esi
cmp eax, esi
je 0x5feea4
push esi
push 0x20
push eax
mov ecx, 0x925b30
call fcn.005d0370
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
jmp 0x5feef7
mov eax, dword [esp + 0x48]
mov esi, dword [eax + 0x1968]
mov byte [eax + 0x4549], 1
mov eax, dword [esi + 0xc]
test eax, eax
je 0x5feed7
cmp dword [eax], 0
jne 0x5feed7
mov ecx, dword [0x91e00c]
push eax
call fcn.005fa780
mov eax, dword [esi + 0x10]
test eax, eax
je 0x5feeef
cmp dword [eax], 0
jne 0x5feeef
mov ecx, dword [0x91e00c]
push eax
call fcn.005fa780
mov ecx, dword [esi + 8]
call fcn.005d9a10
lea ecx, [esp + 0x74]
mov dword [esp + 0x3e4], 0xffffffff
call fcn.0076e220
fld dword [esp + 0x30]
mov ecx, dword [esp + 0x3dc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3d8
ret 0x10