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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5efe78
sub esp, 0x50
nop
mov eax, dword [esp + 0x5c]
mov ecx, eax
and eax, 0x1f
cmp eax, 0x16
je 0x5ef929
test ecx, ecx
je 0x5ef8f0
test ecx, 0x200
jne 0x5ef8f0
lea eax, [0x73f518]
mov edx, dword [esp + 0x54]
jmp 0x5ef912
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov edx, dword [esp + 0x58]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004bc560
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, ecx
mov eax, dword [eax + 0x60]
mov dword [esp], edx
call eax
mov eax, dword [esp + 8]
test eax, eax
setne al
mov ecx, dword [esp + 0x5c]
jmp 0x5ef92b
xor eax, eax
test al, al
je 0x5ef96c
test ecx, 0x100
je 0x5ef96c
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov edx, dword [esp + 0x58]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004b8b80
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, ecx
mov ebp, 1
mov ecx, edx
mov edx, eax
mov eax, dword [esp + 0x5c]
jmp 0x5ef978
mov eax, ecx
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x58]
xor ebp, ebp
movzx esi, byte [esp + 0x60]
jmp 0x5ef98b
mov esi, edx
mov edx, ecx
mov ecx, ebx
mov ebx, eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x28], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x2c], ebx
xchg ebp, eax
mov byte [esp + 0x1b], al
xchg ebp, eax
nop
mov edi, ecx
and ecx, 0x1f
cmp ecx, 0x14
jne 0x5efa99
mov eax, dword [ebx]
test eax, eax
setne al
xor eax, 1
test al, al
je 0x5ef9c3
mov eax, dword [esp + 0x5c]
jmp 0x5efa99
mov dword [esp + 0x24], ecx
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
call fcn.004b9ca0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
nop
mov ebx, edx
and edx, 0x1f
cmp edx, 0x16
jne 0x5efa67
test ebx, 0x200
jne 0x5efa19
test ebx, 0x80
je 0x5efa02
mov edx, dword [eax]
jmp 0x5efa04
mov edx, eax
test edx, edx
setne dl
xor edx, 1
test dl, dl
je 0x5efa19
movzx edx, byte [esp + 0x60]
xor ebp, ebp
jmp 0x5efa6e
movzx edx, byte [esp + 0x60]
test dl, dl
jne 0x5efa29
mov ebp, 1
jmp 0x5efa6e
mov dword [esp + 0x20], ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.004b9ca0
mov eax, dword [esp + 0x14]
and eax, 0x1f
cmp eax, 0x16
sete al
mov ecx, dword [esp + 0x30]
movzx edx, byte [esp + 0x60]
mov ebx, dword [esp + 0x20]
mov ebp, eax
mov eax, dword [esp + 0x34]
jmp 0x5efa6e
movzx edx, byte [esp + 0x60]
xor ebp, ebp
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x5efa7b
xor ebp, ebp
jmp 0x5ef97f
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
movzx ebp, byte [esp + 0x1b]
movzx esi, byte [esp + 0x60]
mov edi, dword [esp + 0x1c]
cmp ecx, 0x16
jne 0x5efe46
xchg esi, eax
test al, al
xchg esi, eax
je 0x5efabd
mov ecx, edi
and edi, 0x160
cmp edi, 0x100
jne 0x5efabf
jmp 0x5efe48
mov ecx, edi
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.004b9ca0
mov eax, dword [esp + 0x14]
and eax, 0x1f
cmp eax, 0x14
je 0x5efae2
xor eax, eax
jmp 0x5efb6b
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 8], edx
call fcn.004b9ca0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004b9ca0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
mov eax, dword [esp + 0x28]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x40], edx
lea ebx, [esp + 0x44]
mov dword [esp], ebx
lea ebx, [esp + 0x38]
mov dword [esp + 4], ebx
mov dword [esp + 8], 0xc
call fcn.00402990
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5efe1c
mov eax, dword [esp + 0x1c]
test eax, 0x200
je 0x5efb87
mov ecx, dword [esp + 0x2c]
jmp 0x5efc4f
test eax, 0x80
je 0x5efb96
mov ecx, dword [esp + 0x2c]
mov ebx, dword [ecx]
jmp 0x5efb9c
mov ecx, dword [esp + 0x2c]
mov ebx, ecx
test ebx, ebx
setne dl
xor edx, 1
test dl, dl
je 0x5efc4a
test eax, 0x200
jne 0x5efbbf
lea edx, [0x73f518]
mov ebx, dword [esp + 0x28]
jmp 0x5efbdf
mov edx, dword [esp + 0x28]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004bc560
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, edx
mov edx, eax
mov eax, dword [edx + 0x28]
mov dword [esp], ebx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004bcfc0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
mov ebx, dword [esp + 0x28]
mov dword [esp], ebx
mov ebp, dword [esp + 0x2c]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x1c]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.004bb470
mov eax, dword [esp + 0x1c]
test eax, 0x200
mov ecx, dword [esp + 0x2c]
jmp 0x5efc4f
test eax, 0x200
jne 0x5efc5d
lea edx, [0x73f518]
mov ebx, dword [esp + 0x28]
jmp 0x5efc7d
mov edx, dword [esp + 0x28]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004bc560
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, edx
mov edx, eax
mov eax, dword [edx + 0x6c]
mov dword [esp], ebx
call eax
mov eax, dword [esp + 4]
test eax, eax
jle 0x5efd4e
mov eax, dword [esp + 0x1c]
test eax, 0x60
jne 0x5efd52
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov byte [esp + 0xc], 1
call fcn.004ba550
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
lea edx, [0x696940]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004094d0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test eax, eax
jne 0x5efde8
movzx eax, byte [esp + 0x60]
test al, al
jne 0x5efd57
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 8], edx
mov byte [esp + 0xc], 1
call fcn.004ba550
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
lea edx, [0x696880]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004094d0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test eax, eax
jne 0x5efdb4
movzx eax, byte [esp + 0x60]
jmp 0x5efd57
mov eax, dword [esp + 0x1c]
movzx eax, byte [esp + 0x60]
movzx ecx, byte [esp + 0x1b]
test cl, cl
je 0x5efd70
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x58]
xor ebp, ebp
jmp 0x5efda6
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], eax
call fcn.004b9ca0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, ecx
movzx ebp, byte [esp + 0x1b]
mov ecx, eax
movzx eax, byte [esp + 0x60]
mov eax, ebx
mov ebx, edx
movzx edx, byte [esp + 0x60]
jmp 0x5ef97f
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x50
ret
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x50
ret
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], eax
call fcn.004b9ca0
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
jmp 0x5efe48
mov ecx, edi
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ecx
add esp, 0x50
ret
call fcn.00461ac0
jmp fcn.005ef8b0