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

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x28]
push ebx
mov ebx, dword [esp + 0x30]
push ebp
push esi
mov esi, dword [esp + 0x2c]
mov ebp, eax
mov dword [esp + 0x14], eax
mov ecx, esi
lea eax, [ebx*4]
push edi
mov edx, dword [esi + 0x64]
mov dword [esp + 0x14], eax
mov edx, dword [eax + edx]
call fcn.004e5a50
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x30], eax
lea eax, [ebx*8]
mov dword [esp + 0x38], eax
mov edi, dword [ecx]
add edi, eax
mov eax, dword [edi + 4]
cmp eax, 0xfffffffb
jne 0x4ef3a4
mov ebx, dword [edi]
jmp 0x4ef3c2
cmp eax, 0xfffffff2
ja 0x4ef66c
mov ecx, dword [esi + 0x54]
mov edx, edi
call fcn.004b1f40
mov ebx, eax
mov dword [edi + 4], 0xfffffffb
mov dword [edi], ebx
push 4
push ebx
push esi
call fcn.004e5d50
mov ecx, 0x884
movzx eax, ax
mov word [esi + 0x7c], cx
add esp, 0xc
mov ecx, dword [esp + 0x30]
mov word [esi + 0x78], cx
mov ecx, esi
mov word [esi + 0x7a], ax
call fcn.004e9100
mov ecx, dword [ebx + 0x10]
lea eax, [ebx + 0x14]
mov dword [esp + 0x1c], eax
add eax, ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], eax
call fcn.004b20b0
mov ebx, eax
test ebx, ebx
je 0x4ef615
mov edx, ebx
cmp ebx, 2
jne 0x4ef432
mov ecx, esi
xor edi, edi
call fcn.004e5930
mov edx, dword [esp + 0x38]
mov ecx, eax
mov eax, ebx
mov dword [esp + 0x30], ecx
and eax, 0xf
dec eax
jmp switch.0x004ef46a
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0x64]
add ecx, 4
mov dword [esp + 0x14], ecx
mov edi, dword [ecx + eax]
mov ecx, esi
call fcn.004e5930
mov edx, dword [esp + 0x38]
mov ecx, eax
mov dword [esp + 0x30], eax
add edx, 8
mov eax, ebx
mov dword [esp + 0x38], edx
and eax, 0xf
dec eax
cmp eax, 7
ja case.0x4ef46a.1
jmp dword [eax*4 + 0x4ef674]
push 4
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esi + 0x54]
call fcn.004a56c0
add esp, 0xc
push eax
push esi
call fcn.004e5d50
mov ecx, 0x5685
movzx eax, ax
add esp, 0xc
mov word [esi + 0x7c], cx
mov ecx, esi
mov word [esi + 0x78], bp
mov word [esi + 0x7a], ax
call fcn.004e9100
jmp 0x4ef600
mov dword [esp + 0x10], 0xb
jmp 0x4ef4c2
mov dword [esp + 0x10], 0xc
mov eax, edi
shr eax, 0x18
and eax, 0x1f
sub eax, 0xf
cmp eax, 4
jbe 0x4ef50a
mov eax, edi
and eax, 0x1f000000
cmp eax, 0xa000000
jne 0x4ef56f
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
add eax, edx
push eax
push edi
push esi
call fcn.004f56d0
push eax
push dword [esp + 0x40]
push ebp
push 0xa
push esi
call fcn.004e5ab0
add esp, 0x20
jmp 0x4ef600
mov word [esi + 0x78], di
mov ecx, esi
cmp ebx, 3
jne 0x4ef541
mov dword [esi + 0x7a], 0x5d040000
call fcn.004e9100
mov ecx, 0x5685
movzx eax, ax
mov word [esi + 0x7c], cx
mov ecx, esi
mov word [esi + 0x78], bp
mov word [esi + 0x7a], ax
call fcn.004e9100
jmp 0x4ef600
mov dword [esi + 0x7a], 0x5b160ad3
call fcn.004e9100
push eax
push dword [esp + 0x34]
push ebp
push 0xa
push esi
call fcn.004e5ab0
mov byte [esi + 0x134], 1
jmp 0x4ef5fd
mov dword [esp + 0x10], 0xd
mov edx, edi
mov ecx, esi
call fcn.004e59b0
push eax
push dword [esp + 0x34]
push ebp
push dword [esp + 0x1c]
jmp 0x4ef5f7
mov eax, edi
and eax, 0x1f000000
cmp eax, 0x4000000
jne case.0x4ef46a.1
cmp ebx, 6
jne 0x4ef5b5
mov eax, 0x5685
mov word [esi + 0x78], bp
mov ecx, esi
mov word [esi + 0x7c], ax
mov word [esi + 0x7a], di
call fcn.004e9100
jmp 0x4ef600
push edi
test bl, 0x10
je 0x4ef5c9
push ebp
push 9
push esi
call fcn.004e5ab0
add esp, 0x10
jmp 0x4ef600
push ecx
push ebp
push 0xe
jmp 0x4ef5f7
mov edx, edi
mov ecx, esi
call fcn.004eb2a0
cmp ebx, 7
jne 0x4ef5ef
mov dword [esi + 0x7a], 0x5d040002
mov ecx, esi
mov word [esi + 0x78], ax
jmp 0x4ef51c
push eax
push dword [esp + 0x34]
push ebp
push 0xf
push esi
call fcn.004e5ab0
add esp, 0x14
lea ecx, [esp + 0x1c]
mov ebp, eax
call fcn.004b20b0
mov ebx, eax
test ebx, ebx
jne 0x4ef410
cmp dword [esp + 0x3c], 0
mov ecx, esi
mov word [esi + 0x78], bp
je 0x4ef649
mov dword [esi + 0x7a], 0x12000000
call fcn.004e9100
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov edx, dword [esp + 0x34]
mov ecx, esi
call fcn.004ebe70
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov eax, 0x5784
mov word [esi + 0x7c], ax
mov eax, dword [esp + 0x18]
mov word [esi + 0x7a], ax
call fcn.004e9100
mov ecx, dword [esi + 0x64]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
pop ebx
add esp, 0x1c
ret
push 0xb
push esi
call fcn.004aaa80
test byte ss:[esi], 0x71
hlt