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

Disassembly:
push 0xffffffffffffffff
push 0x622f1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x144
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esi + 0xa0]
mov eax, dword [ecx + 0x1d8]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x160]
mov edx, dword [eax]
mov ebx, dword [eax + 8]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 4]
push edi
mov edi, dword [ecx + 0x1d4]
mov dword [esp + 0x50], edx
mov edx, dword [eax + 0xc]
xor ebp, ebp
cmp byte [esi + 0xe0], 0
mov dword [esp + 0x1c], edi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], edx
je 0x5ef8b6
mov edx, dword [esp + 0x18]
mov ebx, edi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], edx
cmp edi, ebx
mov dword [esp + 0x14], ebx
lea eax, [esp + 0x1c]
jl 0x5ef8c6
lea eax, [esp + 0x14]
cmp dword [esp + 0x18], edx
mov ebx, dword [eax]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x14], edx
lea eax, [esp + 0x18]
jl 0x5ef8de
lea eax, [esp + 0x14]
mov eax, dword [eax]
mov dword [esp + 0x30], eax
call fcn.005dced0
test al, al
je 0x5efca7
cmp byte [esi + 0xe0], 0
jne 0x5efa80
mov ecx, dword [esi + 0xa0]
cmp dword [ecx + 0x18], ebp
je 0x5ef98e
cmp dword [esi + 0xd4], ebx
jne 0x5ef921
mov edx, dword [esp + 0x30]
cmp dword [esi + 0xd8], edx
je 0x5ef94b
mov ecx, dword [esi + 0xd0]
cmp ecx, ebp
je 0x5ef932
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov dword [esi + 0xd0], ebp
mov dword [esi + 0xd4], ebp
mov dword [esi + 0xd8], ebp
mov byte [esi + 0xdc], 0
cmp dword [esi + 0xd0], ebp
lea edi, [esi + 0xd0]
je 0x5ef971
cmp dword [esi + 0xd4], ebx
jne 0x5ef971
mov eax, dword [esp + 0x30]
cmp dword [esi + 0xd8], eax
je 0x5efa80
cmp dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
lea eax, [esp + 0x1c]
jl 0x5ef983
lea eax, [esp + 0x20]
mov ebp, dword [eax]
mov eax, dword [esp + 0x30]
jmp 0x5efa22
lea eax, [ebx + 0x80]
cmp dword [esi + 0xd4], eax
jge 0x5ef9ae
mov ecx, dword [esp + 0x30]
add ecx, 0x80
cmp dword [esi + 0xd8], ecx
jl 0x5ef9d8
mov ecx, dword [esi + 0xd0]
cmp ecx, ebp
je 0x5ef9bf
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov dword [esi + 0xd0], ebp
mov dword [esi + 0xd4], ebp
mov dword [esi + 0xd8], ebp
mov byte [esi + 0xdc], 0
cmp dword [esi + 0xd0], ebp
lea edi, [esi + 0xd0]
je 0x5ef9fe
cmp dword [esi + 0xd4], ebx
jl 0x5ef9fe
mov ecx, dword [esp + 0x30]
cmp dword [esi + 0xd8], ecx
jge 0x5efa80
lea eax, [ebx + 0x7f]
and eax, 0xffffff80
cmp dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1c]
jl 0x5efa16
lea eax, [esp + 0x20]
mov ebp, dword [eax]
mov eax, dword [esp + 0x30]
add eax, 0x7f
and eax, 0xffffff80
cmp dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x18]
jl 0x5efa34
lea eax, [esp + 0x20]
mov ecx, dword [edi]
test ecx, ecx
mov ebx, dword [eax]
je 0x5efa49
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov dword [edi], 0
movzx ecx, byte [esi + 0xf0]
mov edx, dword [esi + 0x9c]
push edi
push ecx
mov ecx, dword [esi + 0xa0]
push ebx
push ebp
push edx
call fcn.005dc8b0
test al, al
je 0x5efca7
mov dword [esi + 0xd4], ebp
mov dword [esi + 0xd8], ebx
mov ebx, dword [esp + 0x2c]
xor ebp, ebp
mov eax, dword [esi + 0x100]
cmp eax, ebp
mov dword [esp + 0x18], eax
jne 0x5efa97
mov eax, 3
mov dword [esp + 0x18], eax
cmp dword [esp + 0x54], ebx
jne 0x5efaa7
mov ecx, dword [esp + 0x30]
cmp dword [esp + 0x58], ecx
je 0x5efab1
mov dword [esp + 0x18], 2
jmp 0x5efab6
cmp eax, 3
je 0x5efac8
cmp byte [esi + 0xf8], 0
je 0x5efae1
mov ecx, esi
call fcn.005ec790
jmp 0x5efae1
cmp byte [esi + 0xf8], 0
jne 0x5efae1
cmp byte [esi + 0xf9], 0
jne 0x5efae1
mov ecx, esi
call fcn.005ef7c0
mov eax, dword [esi + 0xa8]
mov edx, dword [eax]
push 0x68af80
push 0x100
push eax
mov eax, dword [edx + 0xb0]
call eax
mov eax, dword [esi + 0xa8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xb0]
push 0x68af80
push 2
push eax
call edx
mov eax, dword [esi + 0xa8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xb0]
push 0x68af80
push 3
push eax
call edx
mov eax, dword [esi + 0xa0]
mov ecx, dword [eax + 0x4c]
mov eax, dword [esi + 0xa8]
mov edx, dword [eax]
push 0x20
push ebp
push ecx
push ebp
push eax
mov eax, dword [edx + 0x190]
call eax
mov ecx, dword [esi + 0xa0]
mov eax, dword [esi + 0xa8]
mov ecx, dword [ecx + 0x50]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x1a0]
call eax
mov eax, dword [esi + 0xa8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x164]
push 0x242
push eax
call edx
mov eax, dword [esi + 0xa8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xe4]
push ebp
push 0x89
push eax
call edx
mov eax, dword [esi + 0xa8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xe4]
push 1
push 0x16
push eax
call edx
mov eax, dword [esi + 0xa8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xe4]
push ebp
push 7
push eax
call edx
mov eax, dword [esi + 0xa8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xe4]
push ebp
push 0xf
push eax
call edx
mov eax, dword [esi + 0xa8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xe4]
push ebp
push 0x1b
push eax
call edx
mov eax, dword [esi + 0xa8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xe4]
push ebp
push 0x34
push eax
call edx
mov eax, dword [esi + 0xa8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10c]
push ebp
push 0xb
push ebp
push eax
call edx
mov eax, dword [esi + 0xa8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10c]
push 1
push 0xb
push 1
push eax
call edx
mov eax, dword [esi + 0xa8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10c]
push 2
push 0xb
push 2
push eax
call edx
mov dword [esp + 0x14], ebp
mov ecx, dword [esi + 0xa0]
push ebp
mov dword [esp + 0x160], ebp
call fcn.005dbaa0
mov ecx, dword [esi + 0xd0]
cmp ecx, ebp
je 0x5efcae
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov edi, eax
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x5efc79
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x14], ebp
mov eax, dword [edi]
mov edx, dword [eax + 0x14]
lea ecx, [esp + 0x14]
push ecx
push ebp
push ebp
push edi
call edx
cmp eax, ebp
jge 0x5efce5
mov eax, dword [esp + 0x14]
cmp eax, ebp
mov dword [esp + 0x15c], 0xffffffff
je 0x5efca7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor al, al
jmp 0x5f03f2
mov ecx, dword [esi + 0xa0]
push ebp
call fcn.005dbaa0
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x5efcce
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x14], ebp
mov eax, dword [esi + 0xa8]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push ebp
push eax
mov eax, dword [ecx + 0x98]
call eax
cmp dword [esi + 0x3c], ebp
mov ecx, dword [esi + 0xa0]
mov byte [esi + 0xdc], 0
mov byte [esp + 0x13], 0
mov dword [esp + 0x1c], ecx
je 0x5efd5d
mov eax, dword [esi + 0xd0]
push eax
call fcn.005dbaa0
fldz
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
push ebp
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x5c]
push ecx
fstp dword [esp]
mov dword [esp + 0x48], ecx
mov ecx, dword [esi + 0x3c]
push ecx
push 1
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0xa8]
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x4c], edx
mov edx, dword [eax]
mov edx, dword [edx + 0xac]
push 1
push eax
call edx
cmp eax, ebp
setge byte [esp + 0x13]
jmp case.default.0x5f0187
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
xor eax, eax
xor ebp, ebp
cmp byte [esi + 6], 0
mov edx, ecx
lea edi, [esp + 0xf4]
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], edx
je 0x5efde0
mov ecx, dword [esi + 0x28]
test ecx, ecx
jle 0x5efd8d
mov eax, ecx
mov dword [esp + 0x34], eax
mov ecx, dword [esi + 0x2c]
cmp ebp, ecx
jge 0x5efd96
mov ebp, ecx
mov ecx, dword [esi + 0x30]
cmp dword [esp + 0x3c], ecx
jle 0x5efda7
mov edx, ecx
mov dword [esp + 0x3c], edx
jmp 0x5efdab
mov edx, dword [esp + 0x3c]
mov ecx, dword [esi + 0x34]
cmp ebx, ecx
jle 0x5efdb4
mov ebx, ecx
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
jle 0x5efdc2
mov eax, ecx
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x30]
cmp ebp, ecx
jle 0x5efdcc
mov ebp, ecx
cmp edx, eax
jge 0x5efdd6
mov edx, eax
mov dword [esp + 0x3c], edx
cmp ebx, ebp
mov ecx, dword [esp + 0x2c]
jge 0x5efde0
mov ebx, ebp
cmp edx, eax
jle 0x5f027e
cmp ebx, ebp
jle 0x5f027e
test ebp, ebp
jle 0x5efe19
xor edi, edi
mov dword [esp + 0xf4], edi
mov dword [esp + 0xf8], edi
mov dword [esp + 0xfc], ecx
mov dword [esp + 0x100], ebp
lea edi, [esp + 0x104]
test eax, eax
jle 0x5efe2f
mov dword [edi], 0
mov dword [edi + 4], ebp
mov dword [edi + 8], eax
mov dword [edi + 0xc], ebx
add edi, 0x10
cmp edx, ecx
jge 0x5efe41
mov dword [edi], edx
mov dword [edi + 4], ebp
mov dword [edi + 8], ecx
mov dword [edi + 0xc], ebx
add edi, 0x10
mov eax, dword [esp + 0x30]
cmp ebx, eax
jge 0x5efe5b
mov dword [edi], 0
mov dword [edi + 4], ebx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], eax
add edi, 0x10
lea eax, [esp + 0xf4]
cmp edi, eax
jbe 0x5efeb2
mov eax, dword [esi + 0xd0]
mov ecx, dword [esp + 0x1c]
push eax
call fcn.005dbaa0
fldz
mov eax, dword [esi + 0xa8]
mov ecx, dword [eax]
mov edx, dword [esi + 0x38]
push 0
push ecx
fstp dword [esp]
push edx
lea edx, [esp + 0x100]
push 1
sub edi, edx
push edx
sar edi, 4
push edi
push eax
mov eax, dword [ecx + 0xac]
call eax
test eax, eax
jge 0x5efeb2
mov eax, dword [esp + 0x14]
test eax, eax
jmp 0x5efc92
mov ecx, dword [esi + 0xc4]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
xor edi, edi
push edi
call edx
mov edx, dword [esi + 0x214]
mov ecx, dword [esi + 0x210]
mov dword [esp + 0x80], edx
lea edx, [esp + 0x134]
push edx
mov dword [esp + 0x80], ecx
mov ecx, dword [eax]
push edi
mov dword [esp + 0x64], eax
push eax
mov eax, dword [ecx + 0x44]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], edi
call eax
cmp eax, edi
jge 0x5eff1e
mov eax, dword [esp + 0x14]
cmp eax, edi
jmp 0x5efc92
fldz
mov eax, dword [esp + 0x14c]
mov ecx, dword [esp + 0x150]
fst dword [esp + 0xbc]
fld1
mov dl, byte [esi + 5]
fst dword [esp + 0xb4]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x34]
fst dword [esp + 0xb8]
fst dword [esp + 0xc0]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x3c]
fst dword [esp + 0xc4]
sub eax, ecx
fxch st(1)
fst dword [esp + 0xc8]
mov dword [esp + 0x9c], ecx
fstp dword [esp + 0xcc]
mov ecx, ebx
fld dword [esi + 0x40]
sub ecx, ebp
mov edi, 1
fstp dword [esp + 0xd0]
fld dword [esi + 0x44]
mov dword [esp + 0xa0], ebp
mov ebp, ecx
fstp dword [esp + 0xd4]
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x168]
test ecx, 0x100
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], edi
mov dword [esp + 0x98], edi
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xac], eax
mov byte [esp + 0xd8], dl
je 0x5f0008
fld dword [0x62ee94]
fstp dword [esp + 0xbc]
jmp 0x5f0017
test ecx, 0x200
je 0x5f0017
fst dword [esp + 0xbc]
cmp byte [esi + 0xf8], 0
je 0x5f01e2
mov ecx, dword [esp + 0x1c]
mov ebx, dword [ecx + 0x1d4]
cmp dword [esp + 0x54], ebx
ja 0x5f01e2
mov ecx, dword [ecx + 0x1d8]
cmp dword [esp + 0x58], ecx
ja 0x5f01e2
cmp dword [esi + 0x210], ebx
ja 0x5f01e2
cmp dword [esi + 0x214], ecx
ja 0x5f01e2
mov ebx, dword [esi + 0xf4]
fstp st(0)
cmp ebx, 4
je 0x5f0072
cmp ebx, 5
jne 0x5f00c2
push ebp
push eax
mov ecx, esi
call fcn.005ece50
test al, al
jne 0x5f0086
mov ebx, 3
jmp 0x5f00c2
mov edx, dword [esi + 0xac]
mov eax, dword [esi + 0xb0]
mov ecx, dword [esi + 0xb8]
mov dword [esp + 0x74], edx
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x78], eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], edi
cmp byte [esi + 5], 0
je 0x5f017b
mov ecx, dword [esi + 0xa4]
cmp byte [ecx + 0x64], 0
je 0x5f017b
mov eax, dword [esp + 0x14]
push eax
push 0x685164
lea edx, [esp + 0x64]
push edx
call fcn.005e9f10
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x14]
xor edi, edi
cmp eax, edi
je 0x5f0106
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [esi + 0x8c], edi
mov dword [esp + 0x14], edi
je 0x5f02fd
fldz
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
fstp dword [esp + 0x44]
fld1
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0xa8]
fstp dword [esp + 0x48]
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov edx, dword [eax]
mov edx, dword [edx + 0xbc]
push ecx
push eax
call edx
mov ecx, dword [esi + 0xcc]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
test al, al
je 0x5f02fd
mov eax, dword [esi + 0xcc]
cmp eax, edi
je 0x5f02e0
add eax, 4
jmp 0x5f02e2
lea eax, [ebx - 2]
cmp eax, 3
ja case.default.0x5f0187
jmp dword [eax*4 + 0x5f0410]
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0xa4]
push eax
push 0x685014
jmp 0x5f00e6
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0xa4]
push eax
push 0x684e20
jmp 0x5f00e6
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0xa4]
push eax
push 0x684d14
jmp 0x5f00e6
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0xa4]
push eax
push 0x684ce8
jmp 0x5f00e6
test dl, dl
je 0x5f0219
mov ecx, dword [esi + 0xa4]
cmp byte [ecx + 0x64], 0
je 0x5f0219
cmp dword [esi + 0x100], edi
fstp st(0)
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x5c]
push eax
jne 0x5f020f
push 0x6850a0
jmp 0x5f00ea
push 0x6850ec
jmp 0x5f00ea
cmp dword [esi + 0x100], edi
jne 0x5f0238
mov eax, dword [esp + 0x14]
fstp st(0)
mov ecx, dword [esi + 0xa4]
push eax
push 0x684b50
jmp 0x5f00e6
fcom dword [esi + 0x40]
fnstsw ax
test ah, 5
jnp 0x5f0261
fcomp dword [esi + 0x44]
fnstsw ax
test ah, 5
jnp 0x5f0263
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0xa4]
push eax
push 0x684b9c
jmp 0x5f00e6
fstp st(0)
mov ecx, dword [esi + 0xa4]
cmp byte [ecx + 0x65], 0
je 0x5f024c
mov eax, dword [esp + 0x14]
push eax
push 0x685138
jmp 0x5f00e6
mov eax, dword [esi + 0xd0]
mov ecx, dword [esp + 0x1c]
push eax
call fcn.005dbaa0
fldz
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
xor edi, edi
push edi
push ecx
fstp dword [esp]
mov dword [esp + 0x48], ecx
mov ecx, dword [esi + 0x38]
push ecx
push 1
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0xa8]
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov edx, dword [eax]
mov edx, dword [edx + 0xac]
push 1
push eax
call edx
cmp eax, edi
jge case.default.0x5f0187
mov eax, dword [esp + 0x14]
cmp eax, edi
jmp 0x5efc92
xor eax, eax
mov ecx, dword [esi + 0x8c]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [esi + 0xcc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
cmp byte [esi + 4], 0
je 0x5f0363
fldz
mov edx, dword [esp + 0x30]
mov eax, dword [esi + 0xa8]
fstp dword [esp + 0xec]
mov ecx, dword [esp + 0x2c]
fld1
mov dword [esp + 0xe8], edx
fstp dword [esp + 0xf0]
lea edx, [esp + 0xdc]
mov dword [esp + 0xdc], edi
mov dword [esp + 0xe0], edi
mov dword [esp + 0xe4], ecx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xbc]
call eax
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x4c]
push ecx
push edx
mov ecx, esi
call fcn.005ed300
cmp byte [esp + 0x13], 0
je 0x5f037d
mov ecx, dword [esi + 0xa0]
call fcn.005db870
test al, al
jne 0x5f037d
mov byte [esp + 0x13], al
test byte [esp + 0x168], 4
je 0x5f0392
mov ecx, dword [esi + 0xa0]
call fcn.005db8a0
mov ecx, dword [esi + 0xa0]
push edi
call fcn.005dbaa0
mov bl, byte [esp + 0x13]
test bl, bl
jne 0x5f03c0
mov ecx, dword [esi + 0xa0]
call fcn.005dcd70
test al, al
jne 0x5f03d5
mov eax, dword [esp + 0x14]
cmp eax, edi
jmp 0x5efc92
mov byte [esi + 0xdc], 1
mov byte [esi + 0xdd], 1
mov byte [esi + 0xde], 0
mov eax, dword [esp + 0x14]
cmp eax, edi
mov dword [esp + 0x15c], 0xffffffff
je 0x5f03f0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov al, bl
mov ecx, dword [esp + 0x154]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x150
ret 8