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

Disassembly:
sub esp, 0x118
mov eax, dword [0x56a078]
xor eax, esp
mov dword [esp + 0x114], eax
push ebx
push ebp
push esi
push edi
push 5
pop ebx
mov esi, dword [esp + 0x12c]
mov eax, 0x107
push 0x48
pop edi
mov word [esp + 0x30], ax
xor edx, edx
add eax, 0xfffffffc
mov dword [esp + 0x10], ecx
push 0x20
mov word [esp + 0x44], ax
inc edx
pop eax
push 4
mov word [esp + 0x64], ax
mov ecx, str.alnum
pop eax
mov word [esp + 0x70], ax
mov word [esp + 0x80], ax
mov eax, 0x117
push 2
mov word [esp + 0x94], ax
pop eax
mov word [esp + 0xa0], ax
mov eax, 0x1d7
push 0x10
mov word [esp + 0xb4], ax
pop eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 0x539754
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], 0x5397a0
mov dword [esp + 0x38], str.alpha
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], 0x5397b4
mov dword [esp + 0x48], str.blank
mov dword [esp + 0x4c], ebx
mov word [esp + 0x50], di
mov dword [esp + 0x54], str.cntrl
mov dword [esp + 0x58], 0x5397e0
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x64], 0x5397dc
mov dword [esp + 0x68], 0x5397f4
mov dword [esp + 0x6c], edx
mov dword [esp + 0x74], 0x5397ec
mov dword [esp + 0x78], str.digit
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x84], 0x5397f8
mov dword [esp + 0x88], str.graph
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x94], 0x53980c
mov dword [esp + 0x98], str.lower
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa4], 0x539820
mov dword [esp + 0xa8], str.print
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb4], 0x539834
mov dword [esp + 0xb8], str.punct
mov dword [esp + 0xbc], ebx
mov word [esp + 0xc0], ax
mov dword [esp + 0xc4], str.space
mov dword [esp + 0xc8], 0x539860
mov dword [esp + 0xcc], ebx
mov word [esp + 0xd0], di
mov dword [esp + 0xd4], 0x53985c
mov dword [esp + 0xd8], 0x539874
mov dword [esp + 0xdc], edx
mov word [esp + 0xe0], di
mov dword [esp + 0xe4], str.upper
mov dword [esp + 0xe8], 0x53987c
mov dword [esp + 0xec], ebx
mov word [esp + 0xf0], dx
mov dword [esp + 0xf4], 0x539878
mov dword [esp + 0xf8], 0x539890
mov dword [esp + 0xfc], edx
or eax, 0xffffffff
mov dword [esp + 0x104], str.xdigit
mov word [esp + 0x100], ax
lea eax, [ebx + 0x7b]
xor ebx, ebx
mov dword [esp + 0x108], 0x539894
mov dword [esp + 0x10c], 6
mov ebp, ebx
mov word [esp + 0x110], ax
mov dword [esp + 0x114], ebx
mov dword [esp + 0x118], ebx
mov dword [esp + 0x11c], ebx
mov dword [esp + 0x120], ebx
test ecx, ecx
je 0x4c8583
mov edx, dword [esp + 0x130]
mov eax, ebx
sub edx, esi
sar edx, 1
mov dword [esp + 0x1c], edx
mov eax, dword [esp + eax + 0x2c]
add eax, eax
sar eax, 1
cmp edx, eax
jne 0x4c8575
mov eax, esi
mov dword [esp + 0x14], esi
cmp esi, dword [esp + 0x130]
je 0x4c8583
sub ecx, esi
mov dword [esp + 0x18], ecx
movzx edi, word [ecx + eax]
mov ecx, dword [esp + 0x10]
movzx eax, word [eax]
push eax
mov ecx, dword [ecx + 4]
mov edx, dword [ecx]
call dword [edx + 0x20]
movzx esi, ax
mov eax, dword [esp + 0x10]
push edi
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
call dword [eax + 0x20]
cmp si, ax
jne 0x4c856d
mov eax, dword [esp + 0x14]
add eax, 2
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x130]
je 0x4c8583
mov ecx, dword [esp + 0x18]
jmp 0x4c852a
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
inc ebp
mov eax, ebp
shl eax, 4
mov ecx, dword [esp + eax + 0x28]
test ecx, ecx
jne 0x4c8509
add ebp, ebp
cmp dword [esp + ebp*8 + 0x28], ebx
je 0x4c8590
movzx ebx, word [esp + ebp*8 + 0x30]
cmp byte [esp + 0x134], 0
je 0x4c85a2
test bl, 3
je 0x4c85a2
or ebx, 3
mov ecx, dword [esp + 0x124]
mov ax, bx
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004d014c
add esp, 0x118
ret 0xc