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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4efc0a
sub esp, 0x74
mov eax, dword [esp + 0x78]
movzx ecx, byte [eax + 0xc]
cmp cl, 3
jae 0x4ef7c4
mov ecx, dword [0x1108b58]
mov edx, dword [0x1108b5c]
jmp 0x4ef7db
cmp cl, 5
jbe 0x4ef7d7
mov ecx, dword [0x1108b60]
mov edx, dword [0x1108b64]
jmp 0x4ef7db
xor ecx, ecx
xor edx, edx
test ecx, ecx
jne 0x4ef8d9
mov word [esp + 0x17c], 0x29
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 8]
mov ebp, dword [eax + 0x20]
mov esi, dword [eax + 0x1c]
lea edi, [esp + 0x7c]
mov dword [esp], edi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
call fcn.004efcf0
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
test eax, eax
jne 0x4ef86e
mov ebx, dword [esp + 0x18c]
mov eax, ebp
mov ebp, dword [esp + 0x188]
test ebx, ebx
je 0x4ef86a
mov dword [esp + 0x40], ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], ebx
mov edx, eax
xor eax, eax
mov dword [esp + 0x50], eax
mov eax, edx
jmp 0x4efab4
mov edx, eax
jmp 0x4ef8eb
mov dword [esp + 0x64], edx
mov dword [esp + 0x70], ebx
lea eax, [0x68a280]
mov dword [esp], eax
call fcn.0040b7f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xe
lea ecx, [0x6b63cf]
mov dword [eax], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 8], ecx
mov ecx, dword [0x112f780]
test ecx, ecx
jne 0x4ef8b1
mov ecx, dword [esp + 0x64]
mov dword [eax + 0xc], ecx
jmp 0x4ef8c1
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x64]
call fcn.00462e70
mov eax, ecx
lea ecx, [0x72a53c]
mov dword [esp + 0x194], ecx
mov dword [esp + 0x198], eax
add esp, 0x74
ret
mov dword [esp + 0x194], ecx
mov dword [esp + 0x198], edx
add esp, 0x74
ret
mov dword [esp + 0x3c], edi
mov ebx, eax
sub eax, edx
cmp eax, 0xffff
jle 0x4ef90c
mov ecx, dword [0x1108b98]
mov edx, dword [0x1108b9c]
mov eax, edx
mov edx, edi
jmp 0x4ef98b
cmp edi, ecx
jb 0x4efa8a
mov edx, edi
sub edi, ecx
mov ebp, edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and ecx, edi
add ecx, esi
cmp ebp, 2
jae 0x4ef972
mov dword [esp + 0x60], esi
mov dword [esp + 0x58], ebx
mov dword [esp + 0x44], eax
lea eax, [0x678460]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], 2
call fcn.0044b8a0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x58]
mov esi, dword [esp + 0x60]
mov ebp, eax
shr ax, 8
mov byte [ecx], al
xchg ebp, eax
mov byte [ecx + 1], al
xchg ebp, eax
mov word [esp + 0x184], bp
xor ecx, ecx
xor eax, eax
test ecx, ecx
jne 0x4efa78
mov edi, dword [esp + 0x78]
movzx ecx, byte [edi + 0xc]
cmp cl, 3
ja 0x4ef9d6
cmp cl, 2
jne 0x4ef9b8
lea ecx, [edi + 0x12]
mov ebp, dword [0x1108be0]
mov eax, esi
mov esi, dword [0x1108be4]
jmp 0x4efa1a
cmp cl, 3
jne 0x4efa12
lea ecx, [edi + 0x14]
mov ebp, dword [0x1108bc8]
mov edx, dword [0x1108bcc]
mov eax, esi
mov esi, edx
mov edx, dword [esp + 0x3c]
jmp 0x4efa1a
cmp cl, 4
jne 0x4ef9f4
lea ecx, [edi + 0x16]
mov ebp, dword [0x1108bd0]
mov edx, dword [0x1108bd4]
mov eax, esi
mov esi, edx
mov edx, dword [esp + 0x3c]
jmp 0x4efa1a
cmp cl, 5
jne 0x4efa12
lea ecx, [edi + 0x18]
mov ebp, dword [0x1108bc0]
mov edx, dword [0x1108bc4]
mov eax, esi
mov esi, edx
mov edx, dword [esp + 0x3c]
jmp 0x4efa1a
mov eax, esi
xor ebp, ebp
xor esi, esi
xor ecx, ecx
movzx edx, word [ecx]
cmp dx, 0xffff
je 0x4efa2b
inc edx
mov word [ecx], dx
xor ebp, ebp
xor esi, esi
test ebp, ebp
jne 0x4efa66
mov dword [edi + 4], ebx
mov ecx, dword [esp + 0x3c]
mov dword [edi + 8], ecx
mov ecx, dword [0x112f780]
test ecx, ecx
jne 0x4efa47
mov dword [edi], eax
jmp 0x4efa4c
call fcn.00462e70
mov dword [esp + 0x194], 0
mov dword [esp + 0x198], 0
add esp, 0x74
ret
mov dword [esp + 0x194], ebp
mov dword [esp + 0x198], esi
add esp, 0x74
ret
mov dword [esp + 0x194], ecx
mov dword [esp + 0x198], eax
add esp, 0x74
ret
mov edx, edi
call fcn.00462f30
mov edx, dword [esp + 0x6c]
lea ebp, [edx + 0x10]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x6c], ebp
mov ecx, dword [ebp + 8]
mov dword [esp + 0x4c], ecx
mov edx, dword [ebp + 4]
mov dword [esp + 0x68], edx
movzx ebp, word [ebp]
mov word [esp + 0x32], bp
lea ebx, [eax + 2]
cmp edi, ebx
jae 0x4efb18
mov dword [esp + 0x34], eax
lea ecx, [0x678460]
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebx
call fcn.0044b8a0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
lea ebx, [eax + 2]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x68]
movzx ebp, word [esp + 0x32]
shr bp, 8
xchg ebp, ebx
mov byte [esi + eax], bl
xchg ebp, ebx
movzx ebp, word [esp + 0x32]
xchg ebp, ebx
mov byte [esi + eax + 1], bl
xchg ebp, ebx
nop
lea eax, [ebx + 2]
cmp edi, eax
jae 0x4efb75
mov dword [esp + 0x34], ebx
lea ecx, [0x678460]
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
call fcn.0044b8a0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
add eax, 2
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x34]
mov ebp, ecx
shr cx, 8
mov byte [esi + ebx], cl
xchg ebp, eax
mov byte [esi + ebx + 1], al
xchg ebp, eax
nop
lea ecx, [eax + ebp]
mov dword [esp + 0x34], ecx
cmp edi, ecx
jae 0x4efbc6
mov dword [esp + 0x48], eax
lea edx, [0x678460]
mov dword [esp], edx
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ecx
call fcn.0044b8a0
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x68]
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x38], edi
mov dword [esp + 0x5c], esi
add eax, esi
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
call fcn.004637e0
mov eax, dword [esp + 0x50]
inc eax
mov ecx, dword [esp + 0x54]
cmp ecx, eax
jg 0x4efa91
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x5c]
mov eax, dword [esp + 0x34]
jmp 0x4ef8eb
call fcn.00461a60
jmp fcn.004ef790