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

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
push edi
mov edi, dword [esp + 0x28]
xor ebp, ebp
mov eax, dword [ebx - 0xbc]
mov edx, edi
shr edx, 0x18
mov esi, 0x11
and edx, 0x1f
mov dword [esp + 0x10], eax
lea eax, [edx - 0xf]
cmp eax, 4
ja 0x4ef235
lea esi, [ebp + 9]
jmp 0x4ef24a
mov ecx, edi
and ecx, 0x1f000000
cmp ecx, 0xe000000
jne 0x4ef273
mov esi, 0xe
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
mov ecx, dword [eax + 4]
add ecx, ecx
or ecx, dword [eax]
neg ecx
sbb ecx, ecx
shl esi, 4
neg ecx
add esi, dword [edx]
mov dword [esp + 0x1c], ecx
mov ebp, ecx
mov ecx, dword [esp + 0x28]
jmp 0x4ef6d5
lea eax, [edx - 1]
cmp eax, 1
ja 0x4ef2a6
xor edx, edx
cmp ecx, 0x2000000
mov ecx, ebx
sete dl
call fcn.004e0160
mov edx, dword [esp + 0x10]
mov esi, 3
shl esi, 4
mov ecx, eax
mov dword [esp + 0x28], eax
add esi, dword [edx]
jmp 0x4ef6d5
test ecx, ecx
jne 0x4ef2ca
push ecx
push 0x19
push ebx
call fcn.004e0790
mov edx, dword [esp + 0x1c]
add esp, 0xc
shl esi, 4
mov ecx, eax
mov dword [esp + 0x28], eax
add esi, dword [edx]
jmp 0x4ef6d5
cmp ecx, 0xc000000
jne 0x4ef38e
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
mov dword [esp + 0x28], eax
mov al, byte [eax + 6]
cmp al, 1
je 0x4ef301
cmp al, 3
je 0x4ef301
mov edx, 0x18
movzx edi, di
mov ecx, ebx
call fcn.004e0160
mov ecx, 0x2905
jmp 0x4ef364
movzx eax, di
mov ecx, ebx
mov dword [ebx + 0x7a], 0x4510000c
mov dword [esp + 0x1c], eax
mov word [ebx + 0x78], ax
call fcn.004e3930
mov edi, eax
mov ecx, ebx
mov eax, dword [esp + 0x28]
movzx edx, byte [eax + 6]
call fcn.004e0160
movzx ecx, ax
mov eax, 0x893
mov word [ebx + 0x7a], cx
mov ecx, ebx
mov word [ebx + 0x7c], ax
mov word [ebx + 0x78], di
call fcn.004e3930
mov ecx, dword [esp + 0x28]
mov eax, 0x13
mov edi, dword [esp + 0x1c]
mov edx, 0xd
cmp byte [ecx + 6], 1
mov ecx, 0x4505
cmove eax, edx
mov word [ebx + 0x7c], cx
mov ecx, ebx
movzx eax, ax
mov word [ebx + 0x78], di
mov word [ebx + 0x7a], ax
call fcn.004e3930
mov edx, dword [esp + 0x10]
mov ecx, eax
shl esi, 4
mov dword [esp + 0x28], eax
add esi, dword [edx]
jmp 0x4ef6d5
cmp ecx, 0x4000000
jne 0x4ef4a0
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov eax, edx
and eax, 0xf0000000
cmp eax, 0x50000000
jne 0x4ef44b
mov eax, dword [esp + 0x2c]
push 0
mov edi, dword [eax]
lea eax, [esp + 0x18]
push eax
push edi
push ecx
push dword [esp + 0x20]
call fcn.004a3710
push 4
push edi
push ebx
mov dword [esp + 0x3c], eax
call fcn.004e0580
movzx edx, ax
add esp, 0x20
mov eax, 0x884
mov word [ebx + 0x7a], dx
mov word [ebx + 0x7c], ax
mov eax, dword [esp + 0x28]
movzx ecx, ax
mov word [ebx + 0x78], cx
mov ecx, ebx
call fcn.004e3930
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x4ef4a8
mov eax, dword [edi]
and eax, 0xf0000000
cmp eax, 0xb0000000
jne 0x4ef4a8
mov edx, dword [esp + 0x14]
xor eax, eax
test edx, edx
mov ecx, ebx
setne al
mov dword [esp + 0x1c], eax
call fcn.004e0160
mov edx, dword [esp + 0x10]
mov ecx, eax
movzx esi, word [edi]
mov ebp, dword [esp + 0x1c]
shl esi, 4
add esi, dword [edx]
mov dword [esp + 0x28], eax
jmp 0x4ef6d5
and edx, 0xfc000000
cmp edx, 0x30000000
je 0x4ef710
mov edx, 0x14
mov ecx, ebx
call fcn.004e0160
movzx ecx, ax
mov eax, 0x2905
mov word [ebx + 0x7c], ax
movzx eax, di
mov word [ebx + 0x7a], cx
mov ecx, ebx
mov word [ebx + 0x78], ax
call fcn.004e3930
mov edx, dword [esp + 0x10]
mov esi, 0x15
shl esi, 4
mov ecx, eax
mov dword [esp + 0x28], eax
add esi, dword [edx]
jmp 0x4ef6d5
cmp ecx, 0x3000000
jne 0x4ef4ba
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
shl esi, 4
add esi, dword [edx]
jmp 0x4ef6d5
push dword [esp + 0x2c]
push edi
push ebx
call fcn.004ece00
mov ebp, dword [esp + 0x1c]
add esp, 0xc
movzx edx, word [eax + 6]
mov edi, dword [ebp]
mov esi, edx
shl esi, 4
add esi, edi
mov ecx, dword [esi]
mov eax, ecx
and eax, 0xf0000000
cmp eax, 0x80000000
jne 0x4ef508
nop word [eax + eax]
movzx esi, cx
shl esi, 4
add esi, edi
mov ecx, dword [esi]
mov eax, ecx
and eax, 0xf0000000
cmp eax, 0x80000000
je 0x4ef4f0
mov eax, dword [esp + 0x2c]
and ecx, 0xf0000000
mov eax, dword [eax]
add eax, 8
mov dword [esp + 0x1c], eax
cmp ecx, 0x60000000
jne 0x4ef54a
or edx, 0x20000
push 4
add edx, 0x20000000
push edx
push ebp
call fcn.004a3b20
mov esi, eax
add esp, 0xc
shl esi, 4
mov edi, 5
add esi, dword [ebp]
jmp 0x4ef556
push esi
push ebp
call fcn.004ee9d0
add esp, 8
mov edi, eax
mov ecx, dword [esi]
mov eax, ecx
shr eax, 0x1c
cmp eax, 2
jne 0x4ef5e5
mov eax, dword [esp + 0x28]
or edi, 0x4500
movzx eax, ax
mov ecx, ebx
mov word [ebx + 0x78], ax
mov eax, 0x15
mov word [ebx + 0x7c], di
mov word [ebx + 0x7a], ax
call fcn.004e3930
mov edx, dword [esi]
mov ecx, eax
mov ebp, dword [esp + 0x1c]
mov eax, edx
and eax, 0xf0800000
mov dword [esp + 0x28], ecx
cmp eax, 0x20800000
jne 0x4ef6d1
mov ecx, dword [esp + 0x10]
mov ebp, dword [ebp]
mov edi, dword [ecx]
movzx esi, dx
shl esi, 4
add esi, edi
mov edx, dword [esi]
mov eax, edx
shr eax, 0x1c
cmp eax, 8
je 0x4ef5b2
cmp eax, 5
jne 0x4ef5d3
movzx esi, dx
shl esi, 4
add esi, edi
push esi
push ecx
call fcn.004ee9d0
mov ecx, dword [esp + 0x30]
add esp, 8
mov edi, eax
jmp 0x4ef635
cmp edi, 0x15
je 0x4ef69f
cmp edi, 0x16
je 0x4ef69f
cmp edi, 0x13
je 0x4ef66a
cmp edi, 0x14
je 0x4ef66a
mov edx, 8
mov ecx, ebx
call fcn.004e0160
movzx ecx, ax
mov eax, 0x2905
mov word [ebx + 0x7c], ax
mov eax, dword [esp + 0x28]
movzx eax, ax
mov word [ebx + 0x7a], cx
mov ecx, ebx
mov word [ebx + 0x78], ax
call fcn.004e3930
mov ebp, dword [esp + 0x1c]
mov ecx, eax
cmp dword [esi], 0x10000000
jae 0x4ef6d1
cmp edi, 0xa
je 0x4ef6d1
movzx eax, cx
or edi, 0x4600
mov word [ebx + 0x78], ax
mov ecx, ebx
xor eax, eax
mov word [ebx + 0x7c], di
mov word [ebx + 0x7a], ax
call fcn.004e3930
jmp 0x4ef6cf
cmp eax, 5
jne 0x4ef678
movzx esi, cx
shl esi, 4
add esi, dword [ebp]
mov eax, dword [esp + 0x28]
or edi, 0x4500
movzx eax, ax
mov ecx, ebx
mov word [ebx + 0x78], ax
mov eax, 0x16
mov word [ebx + 0x7c], di
mov word [ebx + 0x7a], ax
call fcn.004e3930
jmp 0x4ef6cb
mov eax, dword [esp + 0x28]
or edi, 0x4500
movzx eax, ax
mov ecx, ebx
mov word [ebx + 0x78], ax
mov eax, 0x17
mov word [ebx + 0x7c], di
mov word [ebx + 0x7a], ax
call fcn.004e3930
mov byte [ebx + 0x134], 1
mov ebp, dword [esp + 0x1c]
mov ecx, eax
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov edi, dword [eax]
mov eax, edi
and eax, 0xf0000000
cmp eax, 0x50000000
jne 0x4ef6f3
movzx eax, di
shl eax, 4
add eax, dword [edx]
jmp 0x4ef6f7
mov eax, dword [esp + 0x20]
push ebp
push ecx
push dword [esp + 0x2c]
push esi
push eax
push ebx
call fcn.004eea70
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
push 0xb
push ebx
call fcn.004a52b0
int3