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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x578029
mov eax, dword fs:[0]
push eax
sub esp, 0x378
mov eax, dword [0x5c8910]
xor eax, esp
mov dword [esp + 0x370], eax
push ebx
push esi
push edi
mov eax, dword [0x5c8910]
xor eax, esp
push eax
lea eax, [esp + 0x388]
mov dword fs:[0], eax
lea ecx, [esp + 0x1ac]
call fcn.004c8430
mov dword [esp + 0x390], 0
call fcn.004c8a70
push eax
lea ecx, [esp + 0x1b0]
call fcn.004c9dd0
lea ecx, [esp + 0x3c]
call fcn.004c8360
mov edi, dword [ebp + 8]
mov byte [esp + 0x390], 1
mov esi, dword [edi]
mov edi, dword [edi + 4]
cmp esi, edi
je 0x4c9427
lea ebx, [ebx]
mov eax, dword [esi]
lea ebx, [esi + 0x14]
mov edx, dword [esp + 0x64]
cmp edx, 0x10
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x50]
cmovae eax, ecx
cmp eax, 0x5a0ec0
ja 0x4c8f0f
mov eax, dword [esp + 0x60]
lea ecx, [esp + 0x50]
cmp edx, 0x10
cmovae ecx, dword [esp + 0x50]
add eax, ecx
cmp eax, 0x5a0ec0
jbe 0x4c8f0b
cmp edx, 0x10
lea ecx, [esp + 0x50]
push 0
cmovae ecx, dword [esp + 0x54]
mov eax, 0x5a0ec0
sub eax, ecx
push eax
lea eax, [esp + 0x58]
push eax
mov ecx, eax
call fcn.0040eab3
jmp 0x4c8f24
mov ecx, dword [esp + 0x50]
cmp edx, 0x10
mov dword [esp + 0x60], 0
lea eax, [esp + 0x50]
cmovae eax, ecx
mov byte [eax], 0
cmp dword [ebx + 0x14], 8
mov ecx, dword [ebx + 0x10]
mov dword [esp + 0x1c], ecx
jb 0x4c8f35
mov eax, dword [ebx]
jmp 0x4c8f37
mov eax, ebx
push 0
push 0
push 0
push 0
push ecx
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [esp + 0x14], eax
test eax, eax
je 0x4c9067
mov ecx, dword [esp + 0x60]
cmp eax, ecx
ja 0x4c8f7d
cmp dword [esp + 0x64], 0x10
lea ecx, [esp + 0x50]
mov dword [esp + 0x60], eax
cmovae ecx, dword [esp + 0x50]
mov byte [ecx + eax], 0
jmp 0x4c9039
mov edx, eax
or eax, 0xffffffff
sub edx, ecx
sub eax, ecx
mov dword [esp + 0x20], edx
cmp eax, edx
jbe 0x4c9825
test edx, edx
je 0x4c9035
add edx, ecx
mov dword [esp + 0x18], edx
cmp edx, 0xfffffffe
ja 0x4c9825
cmp dword [esp + 0x64], edx
jae 0x4c8fc0
push ecx
push edx
lea ecx, [esp + 0x58]
call fcn.0040ed4c
mov edx, dword [esp + 0x18]
jmp 0x4c8fd8
test edx, edx
jne 0x4c8fde
cmp dword [esp + 0x64], 0x10
lea eax, [esp + 0x50]
mov dword [esp + 0x60], edx
cmovae eax, dword [esp + 0x50]
mov byte [eax], dl
mov ecx, dword [esp + 0x60]
test edx, edx
setne al
test al, al
je 0x4c9035
cmp dword [esp + 0x20], 1
lea eax, [esp + 0x50]
jne 0x4c9000
cmp dword [esp + 0x64], 0x10
cmovae eax, dword [esp + 0x50]
mov byte [eax + ecx], 0
jmp 0x4c901f
cmp dword [esp + 0x64], 0x10
push dword [esp + 0x20]
cmovae eax, dword [esp + 0x54]
add eax, ecx
push 0
push eax
call fcn.00538910
mov edx, dword [esp + 0x24]
add esp, 0xc
cmp dword [esp + 0x64], 0x10
lea eax, [esp + 0x50]
mov dword [esp + 0x60], edx
cmovae eax, dword [esp + 0x50]
mov byte [eax + edx], 0
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x64], 0x10
lea ecx, [esp + 0x50]
cmovae ecx, dword [esp + 0x50]
cmp dword [ebx + 0x14], 8
jb 0x4c904f
mov ebx, dword [ebx]
push 0
push 0
push eax
push ecx
push dword [esp + 0x2c]
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edx, dword [esp + 0x7c]
lea eax, [esp + 0x68]
mov ecx, dword [esp + 0x68]
lea ebx, [esi + 0x2c]
cmp edx, 0x10
cmovae eax, ecx
cmp eax, 0x5a0ec0
ja 0x4c90c4
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x68]
cmp edx, 0x10
cmovae ecx, dword [esp + 0x68]
add eax, ecx
cmp eax, 0x5a0ec0
jbe 0x4c90c0
cmp edx, 0x10
lea ecx, [esp + 0x68]
push 0
cmovae ecx, dword [esp + 0x6c]
mov eax, 0x5a0ec0
sub eax, ecx
push eax
lea eax, [esp + 0x70]
push eax
mov ecx, eax
call fcn.0040eab3
jmp 0x4c90d9
mov ecx, dword [esp + 0x68]
cmp edx, 0x10
mov dword [esp + 0x78], 0
lea eax, [esp + 0x68]
cmovae eax, ecx
mov byte [eax], 0
cmp dword [ebx + 0x14], 8
mov ecx, dword [ebx + 0x10]
mov dword [esp + 0x1c], ecx
jb 0x4c90ea
mov eax, dword [ebx]
jmp 0x4c90ec
mov eax, ebx
push 0
push 0
push 0
push 0
push ecx
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [esp + 0x14], eax
test eax, eax
je 0x4c921c
mov ecx, dword [esp + 0x78]
cmp eax, ecx
ja 0x4c9132
cmp dword [esp + 0x7c], 0x10
lea ecx, [esp + 0x68]
mov dword [esp + 0x78], eax
cmovae ecx, dword [esp + 0x68]
mov byte [ecx + eax], 0
jmp 0x4c91ee
mov edx, eax
or eax, 0xffffffff
sub edx, ecx
sub eax, ecx
mov dword [esp + 0x18], edx
cmp eax, edx
jbe 0x4c9825
test edx, edx
je 0x4c91ea
add edx, ecx
mov dword [esp + 0x20], edx
cmp edx, 0xfffffffe
ja 0x4c9825
cmp dword [esp + 0x7c], edx
jae 0x4c9175
push ecx
push edx
lea ecx, [esp + 0x70]
call fcn.0040ed4c
mov edx, dword [esp + 0x20]
jmp 0x4c918d
test edx, edx
jne 0x4c9193
cmp dword [esp + 0x7c], 0x10
lea eax, [esp + 0x68]
mov dword [esp + 0x78], edx
cmovae eax, dword [esp + 0x68]
mov byte [eax], dl
mov ecx, dword [esp + 0x78]
test edx, edx
setne al
test al, al
je 0x4c91ea
cmp dword [esp + 0x18], 1
lea eax, [esp + 0x68]
jne 0x4c91b5
cmp dword [esp + 0x7c], 0x10
cmovae eax, dword [esp + 0x68]
mov byte [ecx + eax], 0
jmp 0x4c91d4
cmp dword [esp + 0x7c], 0x10
push dword [esp + 0x18]
cmovae eax, dword [esp + 0x6c]
add eax, ecx
push 0
push eax
call fcn.00538910
mov edx, dword [esp + 0x2c]
add esp, 0xc
cmp dword [esp + 0x7c], 0x10
lea eax, [esp + 0x68]
mov dword [esp + 0x78], edx
cmovae eax, dword [esp + 0x68]
mov byte [edx + eax], 0
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x7c], 0x10
lea ecx, [esp + 0x68]
cmovae ecx, dword [esp + 0x68]
cmp dword [ebx + 0x14], 8
jb 0x4c9204
mov ebx, dword [ebx]
push 0
push 0
push eax
push ecx
push dword [esp + 0x2c]
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edx, dword [esp + 0x94]
lea eax, [esp + 0x80]
mov ecx, dword [esp + 0x80]
lea ebx, [esi + 0x44]
cmp edx, 0x10
cmovae eax, ecx
cmp eax, 0x5a0ec0
ja 0x4c9297
mov eax, dword [esp + 0x90]
lea ecx, [esp + 0x80]
cmp edx, 0x10
cmovae ecx, dword [esp + 0x80]
add eax, ecx
cmp eax, 0x5a0ec0
jbe 0x4c9290
cmp edx, 0x10
lea ecx, [esp + 0x80]
push 0
cmovae ecx, dword [esp + 0x84]
mov eax, 0x5a0ec0
sub eax, ecx
push eax
lea eax, [esp + 0x88]
push eax
mov ecx, eax
call fcn.0040eab3
jmp 0x4c92b2
mov ecx, dword [esp + 0x80]
cmp edx, 0x10
mov dword [esp + 0x90], 0
lea eax, [esp + 0x80]
cmovae eax, ecx
mov byte [eax], 0
cmp dword [ebx + 0x14], 8
mov ecx, dword [ebx + 0x10]
mov dword [esp + 0x20], ecx
jb 0x4c92c3
mov eax, dword [ebx]
jmp 0x4c92c5
mov eax, ebx
push 0
push 0
push 0
push 0
push ecx
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [esp + 0x14], eax
test eax, eax
je 0x4c940b
mov ecx, dword [esp + 0x90]
cmp eax, ecx
ja 0x4c931a
cmp dword [esp + 0x94], 0x10
lea ecx, [esp + 0x80]
mov dword [esp + 0x90], eax
cmovae ecx, dword [esp + 0x80]
mov byte [ecx + eax], 0
jmp 0x4c93d4
mov edx, eax
or eax, 0xffffffff
sub edx, ecx
sub eax, ecx
mov dword [esp + 0x1c], edx
cmp eax, edx
jbe 0x4c9825
test edx, edx
je 0x4c93d0
add edx, ecx
mov dword [esp + 0x18], edx
cmp edx, 0xfffffffe
ja 0x4c9825
cmp dword [esp + 0x94], edx
jae 0x4c9363
push ecx
push edx
lea ecx, [esp + 0x88]
call fcn.0040ed4c
mov edx, dword [esp + 0x18]
jmp 0x4c9387
test edx, edx
jne 0x4c9390
cmp dword [esp + 0x94], 0x10
lea eax, [esp + 0x80]
mov dword [esp + 0x90], edx
cmovae eax, dword [esp + 0x80]
mov byte [eax], dl
mov ecx, dword [esp + 0x90]
test edx, edx
setne al
test al, al
je 0x4c93d0
push 0
push dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x8c]
call fcn.0043e6eb
cmp dword [esp + 0x94], 0x10
lea eax, [esp + 0x80]
mov ecx, dword [esp + 0x18]
cmovae eax, dword [esp + 0x80]
mov dword [esp + 0x90], ecx
mov byte [ecx + eax], 0
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x94], 0x10
lea ecx, [esp + 0x80]
cmovae ecx, dword [esp + 0x80]
cmp dword [ebx + 0x14], 8
jb 0x4c93f3
mov ebx, dword [ebx]
push 0
push 0
push eax
push ecx
push dword [esp + 0x30]
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x368]
call fcn.004ccf30
add esi, 0x5c
cmp esi, edi
jne 0x4c8e90
mov dword [esp + 0xb0], 0xf
mov dword [esp + 0xac], 0
mov byte [esp + 0x9c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
lea eax, [esp + 0x30]
mov byte [esp + 0x390], 3
push eax
lea ecx, [esp + 0x1b0]
call fcn.004d14b0
push dword [esp + 0x34]
mov edi, dword [esp + 0x34]
lea ecx, [esp + 0xa0]
push edi
call fcn.0040eb6a
cmp dword [esp + 0xb0], 0x10
lea eax, [esp + 0x9c]
push dword [esp + 0xac]
cmovae eax, dword [esp + 0xa0]
push eax
lea eax, [esp + 0xbc]
push 0x59ea84
push eax
call fcn.0044769c
add esp, 0x10
mov byte [esp + 0x390], 4
lea ecx, [esp + 0xb4]
cmp dword [esp + 0xc8], 0x10
mov eax, dword [esp + 0xc4]
cmovae ecx, dword [esp + 0xb4]
push dword [esp + 0x1c]
add eax, ecx
mov dword [esp + 0x28], 0
cmp dword [esp + 0xcc], 0x10
lea ecx, [esp + 0xb8]
push eax
cmovae ecx, dword [esp + 0xbc]
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
call fcn.004dc220
lea ecx, [esp + 0x12c]
mov byte [esp + 0x390], 5
call fcn.004cd0c0
mov byte [esp + 0x390], 6
lea ecx, [esp + 0x114]
push 8
push str.qbpcstat
mov dword [esp + 0x13c], 0
mov dword [esp + 0x130], 0xf
mov dword [esp + 0x12c], 0
mov byte [esp + 0x11c], 0
call fcn.0040eb6a
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x11c]
mov byte [esp + 0x398], 7
push eax
lea ecx, [esp + 0x144]
call fcn.0040eab3
mov byte [esp + 0x390], 6
cmp dword [esp + 0x128], 0x10
jb 0x4c95be
push dword [esp + 0x114]
call fcn.005363a4
add esp, 4
push 4
push str.stat
lea ecx, [esp + 0x104]
mov dword [esp + 0x118], 0xf
mov dword [esp + 0x114], 0
mov byte [esp + 0x104], 0
call fcn.0040eb6a
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x104]
mov byte [esp + 0x398], 8
push eax
lea ecx, [esp + 0x15c]
call fcn.0040eab3
mov byte [esp + 0x390], 6
cmp dword [esp + 0x110], 0x10
jb 0x4c9630
push dword [esp + 0xfc]
call fcn.005363a4
add esp, 4
push 5
push str.crypt
lea ecx, [esp + 0xec]
mov dword [esp + 0x100], 0xf
mov dword [esp + 0xfc], 0
mov byte [esp + 0xec], 0
call fcn.0040eb6a
lea eax, [esp + 0x24]
mov byte [esp + 0x390], 9
push eax
lea eax, [esp + 0xe8]
push eax
lea ecx, [esp + 0x190]
call fcn.004d1710
cmp dword [esp + 0xf8], 0x10
jb 0x4c969b
push dword [esp + 0xe4]
call fcn.005363a4
add esp, 4
mov dword [esp + 0xe0], 0xf
mov dword [esp + 0xdc], 0
mov byte [esp + 0xcc], 0
lea eax, [esp + 0xcc]
mov byte [esp + 0x390], 0xa
push eax
lea ecx, [esp + 0x130]
call fcn.004cd210
lea eax, [esp + 0xcc]
push eax
call fcn.004cb150
cmp dword [esp + 0xe0], 0x10
mov esi, eax
jb 0x4c96fd
push dword [esp + 0xcc]
call fcn.005363a4
add esp, 4
push dword [esp + 0x19c]
mov dword [esp + 0xe4], 0xf
mov dword [esp + 0xe0], 0
mov byte [esp + 0xd0], 0
call fcn.0053b82d
mov eax, dword [esp + 0x18c]
lea ecx, [esp + 0x18c]
add esp, 4
push eax
push dword [eax]
lea eax, [esp + 0x24]
push eax
call fcn.004cf6d0
push dword [esp + 0x188]
call fcn.005363a4
add esp, 4
lea ecx, [esp + 0x12c]
call fcn.004c9f90
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4c9771
push eax
call fcn.005363a4
add esp, 4
cmp dword [esp + 0xc8], 0x10
jb 0x4c978a
push dword [esp + 0xb4]
call fcn.005363a4
add esp, 4
push edi
mov dword [esp + 0xcc], 0xf
mov dword [esp + 0xc8], 0
mov byte [esp + 0xb8], 0
call fcn.0053b82d
add esp, 4
cmp dword [esp + 0xb0], 0x10
jb 0x4c97ca
push dword [esp + 0x9c]
call fcn.005363a4
add esp, 4
lea ecx, [esp + 0x3c]
mov dword [esp + 0xb0], 0xf
mov dword [esp + 0xac], 0
mov byte [esp + 0x9c], 0
call fcn.004c9eb0
lea ecx, [esp + 0x1ac]
call fcn.004c9830
mov eax, esi
mov ecx, dword [esp + 0x388]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x370]
xor ecx, esp
call fcn.0053bd6c
mov esp, ebp
pop ebp
ret 4
push str.string_too_long
call fcn.0051b664
int3