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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4e8cfb
sub esp, 0x54
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x5c]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov eax, dword [eax + 4]
mov dword [esp + 0x30], eax
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
lea ebx, [edx - 1]
test ebx, ebx
jl 0x4e8cdf
mov ecx, dword [ecx + edx*4 - 4]
nop
nop
cmp ecx, 0x10000
jb 0x4e8cd8
shr ecx, 0x10
mov edx, 0x10
cmp ecx, 0x100
jb 0x4e8aaf
shr ecx, 8
add edx, 8
cmp ecx, 0x100
jae 0x4e8cf4
shl ebx, 5
lea ebp, [0x869c00]
movzx ecx, byte [ebp + ecx]
add ecx, edx
add ecx, ebx
mov dword [esp + 0x2c], ecx
lea eax, [0x640f20]
mov dword [esp], eax
lea eax, [ecx + 7]
sar eax, 3
mov dword [esp + 0x28], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.00438de0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x40], eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
xor ebp, ebp
jmp 0x4e8b13
mov edx, ecx
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x34]
mov ecx, eax
mov eax, dword [esp + 0x40]
test ecx, ecx
jne 0x4e8cb1
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], edx
nop
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
mov edx, dword [esp + 0x64]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov ebx, dword [esp + 0x28]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.004776a0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x4e8c7e
mov edx, dword [esp + 0x28]
test edx, edx
jbe 0x4e8ced
mov dword [esp + 0x34], eax
mov ebx, dword [esp + 0x40]
movzx ebp, byte [ebx]
mov esi, dword [0x88fa20]
mov edi, dword [esp + 0x2c]
sar edi, 0x1f
shr edi, 0x1d
mov eax, dword [esp + 0x2c]
add edi, eax
sar edi, 3
shl edi, 3
sub eax, edi
lea edi, [0x88fa20]
cmp dword [edi + 4], eax
jbe 0x4e8ced
movzx eax, byte [esi + eax]
and ebp, eax
xchg ebp, eax
mov byte [ebx], al
xchg ebp, eax
cmp edx, 1
jbe 0x4e8ce6
mov dword [esp + 0x24], ecx
movzx eax, byte [ebx + 1]
xor eax, 0x42
mov byte [ebx + 1], al
mov byte [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
nop
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edx
call fcn.004e3b30
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
mov byte [esp + 0x44], 0
lea eax, [esp + 0x44]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call fcn.004da1b0
mov eax, dword [esp + 8]
test eax, eax
jl 0x4e8c4d
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
jmp 0x4e8b03
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x5c]
mov dword [esp], edx
mov ebx, dword [esp + 0x40]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x28]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebp
call ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
jmp 0x4e8b03
mov edx, dword [esp + 0x40]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
add esp, 0x54
ret
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebp
add esp, 0x54
ret
xor edx, edx
jmp 0x4e8aa1
xor ecx, ecx
jmp 0x4e8acd
call fcn.00427150
ud2
call fcn.00427150
ud2
call fcn.00427150
ud2
call fcn.0044b940
jmp fcn.004e8a40