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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4ea5a1
sub esp, 0x74
mov eax, 0
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
lea eax, [0x8201e0]
mov dword [esp], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x7c]
mov dword [esp + 8], ecx
call fcn.00407b50
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test al, al
je 0x4ea01f
mov eax, dword [edx + 0x10]
mov edx, dword [esp + 0x80]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x84]
mov dword [esp + 8], edx
mov dword [esp], ecx
call eax
add esp, 0x74
ret
mov ecx, dword [esp + 0x80]
test ecx, ecx
je 0x4ea4a5
mov edx, dword [ecx + 4]
test edx, edx
je 0x4ea493
movzx ebx, byte [0xc5cc40]
test bl, bl
je 0x4ea487
mov dword [0xc5cc44], edx
mov ebx, dword [0xc6f140]
test ebx, ebx
jne 0x4ea46e
mov ebx, dword [esp + 0x84]
mov dword [0xc5cc48], ebx
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], ebx
mov edx, dword [esp + 0x54]
test edx, edx
je 0x4ea461
movzx ebp, byte [edx + 0xf]
mov esi, ebp
and ebp, 0x1f
xchg esi, eax
test al, 0x20
xchg esi, eax
jne 0x4ea093
or ebp, 0x80
mov eax, ebx
mov esi, dword [esp + 0x78]
test esi, esi
je 0x4ea458
mov edi, ecx
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4ea449
movzx esi, byte [0xc5cc40]
xchg esi, eax
test al, al
xchg esi, eax
je 0x4ea440
mov dword [0xc5cc44], ecx
mov esi, dword [0xc6f140]
test esi, esi
jne 0x4ea41a
mov esi, dword [esp + 0x7c]
mov dword [0xc5cc48], esi
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], esi
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x4ea40d
movzx eax, byte [ecx + 0xf]
mov byte [esp + 0x1f], al
and eax, 0x1f
movzx edi, byte [esp + 0x1f]
xchg edi, eax
test al, 0x20
xchg edi, eax
jne 0x4ea10d
or eax, 0x80
mov edi, esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x24], eax
and eax, 0x1f
mov dword [esp + 0x2c], eax
cmp eax, 0x14
ja 0x4ea3fa
lea edi, [eax - 0x12]
cmp edi, 1
ja 0x4ea3a1
mov eax, dword [esp + 0x24]
test eax, 0x200
je 0x4ea379
mov dword [esp + 0x20], ebp
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x34], edx
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call fcn.004a3100
mov eax, dword [esp + 0xc]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x30]
mov dword [esp], edx
mov ebx, dword [esp + 0x38]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x24]
mov dword [esp + 8], ebp
call fcn.004a3100
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
cmp edx, eax
jne 0x4ea371
mov dword [esp], edx
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00402ea0
movzx eax, byte [esp + 0xc]
test al, al
je 0x4ea344
mov eax, dword [esp + 0x20]
mov ecx, eax
and eax, 0x1f
mov dword [esp + 0x2c], eax
cmp eax, 0x14
ja 0x4ea331
lea edx, [eax - 0x12]
cmp edx, 1
ja 0x4ea2dc
test ecx, 0x200
je 0x4ea2b2
lea eax, [0x820300]
mov dword [esp], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 8], eax
call fcn.00407b50
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
movzx edx, byte [esp + 0x14]
test dl, dl
je 0x4ea242
mov eax, dword [eax + 0x10]
mov edx, dword [esp + 0x80]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x84]
mov dword [esp + 8], edx
mov dword [esp], ecx
call eax
add esp, 0x74
ret
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
call fcn.0049fcc0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x40], edx
mov ebx, dword [esp + 0x34]
mov dword [esp], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 8], ebx
call fcn.0049fcc0
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
call fcn.004ea5b0
add esp, 0x74
ret
test ecx, 0x80
je 0x4ea2d4
mov eax, dword [esp + 0x3c]
mov edx, dword [eax]
test edx, edx
setne dl
xor edx, 1
test dl, dl
je 0x4ea1f1
add esp, 0x74
ret
mov eax, dword [esp + 0x3c]
mov edx, eax
jmp 0x4ea2c0
cmp eax, 0x14
jne 0x4ea2f1
mov eax, dword [esp + 0x3c]
mov ebx, dword [eax]
test ebx, ebx
setne dl
xor edx, 1
jmp 0x4ea2c8
lea eax, [0x836c60]
mov dword [esp], eax
call fcn.00409d90
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x13
mov eax, dword [0xc6f140]
test eax, eax
jne 0x4ea321
lea eax, [0x8a0d63]
mov dword [edi], eax
jmp 0x4ea4ac
lea eax, [0x8a0d63]
call fcn.0044c860
jmp 0x4ea4ac
lea edx, [eax - 0x15]
cmp edx, 1
jbe 0x4ea1e5
cmp eax, 0x17
je 0x4ea2e1
jmp 0x4ea2f1
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4ea366
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x80]
test ecx, ecx
je 0x4ea4e2
mov ecx, dword [ecx + 4]
jmp 0x4ea4e2
mov ecx, dword [esp + 0x80]
test ecx, ecx
jmp 0x4ea358
mov eax, dword [esp + 0x78]
test eax, eax
jmp 0x4ea34a
test eax, 0x80
je 0x4ea39d
mov edi, dword [esi]
test edi, edi
xchg edi, ebx
setne bl
xchg edi, ebx
xor edi, 1
xchg edi, eax
test al, al
xchg edi, eax
je 0x4ea146
jmp 0x4ea587
mov edi, esi
jmp 0x4ea382
cmp eax, 0x14
jne 0x4ea3ba
mov eax, dword [esi]
test eax, eax
xchg edi, ebx
setne bl
xchg edi, ebx
xor edi, 1
mov eax, dword [esp + 0x24]
jmp 0x4ea38e
lea eax, [0x836c60]
mov dword [esp], eax
call fcn.00409d90
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x13
mov eax, dword [0xc6f140]
test eax, eax
jne 0x4ea3ea
lea eax, [0x8a0d63]
mov dword [edi], eax
jmp 0x4ea4c7
lea eax, [0x8a0d63]
call fcn.0044c860
jmp 0x4ea4c7
lea edi, [eax - 0x15]
cmp edi, 1
jbe 0x4ea137
cmp eax, 0x17
je 0x4ea3a6
jmp 0x4ea3ba
mov edi, esi
xor ecx, ecx
xor eax, eax
xor esi, esi
jmp 0x4ea10f
lea edi, [0xc5cc48]
mov eax, dword [esp + 0x7c]
call fcn.0044c860
mov eax, dword [esp + 0x84]
mov esi, dword [esp + 0x7c]
mov edi, dword [esp + 0x80]
jmp 0x4ea0dd
mov esi, dword [esp + 0x7c]
jmp 0x4ea0dd
mov edi, dword [esp + 0x7c]
xor esi, esi
xor ecx, ecx
xor eax, eax
jmp 0x4ea10f
mov edi, ecx
mov ecx, esi
jmp 0x4ea0a6
mov eax, ebx
xor ebp, ebp
xor ebx, ebx
xor edx, edx
jmp 0x4ea095
lea edi, [0xc5cc48]
mov eax, dword [esp + 0x84]
call fcn.0044c860
mov ebx, eax
jmp 0x4ea069
mov ebx, dword [esp + 0x84]
jmp 0x4ea069
mov eax, dword [esp + 0x84]
xor ebp, ebp
xor ebx, ebx
xor edx, edx
jmp 0x4ea095
mov edx, ecx
jmp 0x4ea031
mov eax, dword [esp + 0x2c]
mov dword [edi + 8], eax
lea eax, [0x81b700]
mov dword [esp], eax
mov dword [esp + 4], edi
call fcn.00427650
ud2
mov eax, dword [esp + 0x2c]
mov dword [edi + 8], eax
lea eax, [0x81b700]
mov dword [esp], eax
mov dword [esp + 4], edi
call fcn.00427650
ud2
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov eax, dword [esp + 0x84]
mov dword [esp + 0x70], eax
lea eax, [0x8a9f18]
mov dword [esp], eax
mov dword [esp + 4], 0x21
lea eax, [esp + 0x64]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004b0290
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
lea eax, [0x80a3e0]
mov dword [esp], eax
lea eax, [esp + 0x5c]
mov dword [esp + 4], eax
call fcn.00407520
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00427650
ud2
lea eax, [0x80a3e0]
mov dword [esp], eax
lea eax, [0x91f0f0]
mov dword [esp + 4], eax
call fcn.00427650
ud2
call fcn.0044b100
jmp fcn.004e9fa0