Function at 0x4d7c10
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x19
push 0
push 0
dec ecx
jne 0x4d7c18
push ebx
push esi
push edi
mov eax, 0x4d5f68
call fcn.00407294
xor eax, eax
push ebp
push 0x4d838b
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.00403390
mov eax, dword [ebp - 0x14]
mov edx, 0x4d83a4
call fcn.004a9074
lea edx, [ebp - 0x18]
mov eax, 1
call fcn.00403390
mov eax, dword [ebp - 0x18]
mov edx, 0x4d83b4
call fcn.00409594
test al, al
je 0x4d7c79
call fcn.004b9414
jmp 0x4d835d
lea edx, [ebp - 0x1c]
mov eax, 1
call fcn.00403390
mov eax, dword [ebp - 0x1c]
mov edx, 0x4d83c8
call fcn.00409594
test al, al
je 0x4d7d82
mov eax, 0x4d83d8
call fcn.004c27a4
test al, al
jne 0x4d835d
call fcn.00403330
cmp eax, 4
jl 0x4d835d
lea edx, [ebp - 0x20]
mov eax, 5
call fcn.00403390
mov eax, dword [ebp - 0x20]
mov edx, 0x7918
call fcn.00409af0
mov ebx, eax
lea edx, [ebp - 0x24]
mov eax, 6
call fcn.00403390
mov eax, dword [ebp - 0x24]
xor edx, edx
call fcn.00409af0
mov esi, eax
lea edx, [ebp - 0x28]
mov eax, 7
call fcn.00403390
mov eax, dword [ebp - 0x28]
xor edx, edx
call fcn.00409af0
mov edi, eax
lea edx, [ebp - 0x2c]
mov eax, 8
call fcn.00403390
mov eax, dword [ebp - 0x2c]
xor edx, edx
call fcn.00409af0
mov dword [0x4f21d4], eax
push 1
push ebx
push esi
push edi
mov eax, dword [0x4f21d4]
push eax
lea edx, [ebp - 0x30]
mov eax, 4
call fcn.00403390
mov eax, dword [ebp - 0x30]
mov edx, 0xb4
call fcn.00409af0
push eax
lea edx, [ebp - 0x34]
mov eax, 3
call fcn.00403390
mov eax, dword [ebp - 0x34]
mov edx, 0xfa
call fcn.00409af0
push eax
lea edx, [ebp - 0x38]
mov eax, 2
call fcn.00403390
mov eax, dword [ebp - 0x38]
pop edx
pop ecx
call fcn.004c2bac
jmp 0x4d835d
lea edx, [ebp - 0x3c]
mov eax, 1
call fcn.00403390
mov eax, dword [ebp - 0x3c]
mov edx, 0x4d83f8
call fcn.00409594
test al, al
je 0x4d7e12
mov eax, 0x4d840c
call fcn.004c27a4
test al, al
jne 0x4d835d
call fcn.00403330
cmp eax, 4
jl 0x4d835d
lea edx, [ebp - 0x40]
mov eax, 4
call fcn.00403390
mov eax, dword [ebp - 0x40]
mov edx, 0x1cc
call fcn.00409af0
push eax
lea edx, [ebp - 0x44]
mov eax, 3
call fcn.00403390
mov eax, dword [ebp - 0x44]
mov edx, 0x28a
call fcn.00409af0
push eax
lea edx, [ebp - 0x48]
mov eax, 2
call fcn.00403390
mov eax, dword [ebp - 0x48]
pop edx
pop ecx
call fcn.004c2014
jmp 0x4d835d
lea edx, [ebp - 0x4c]
mov eax, 1
call fcn.00403390
mov eax, dword [ebp - 0x4c]
mov edx, 0x4d842c
call fcn.00409594
test al, al
je 0x4d7e51
mov eax, 0x4d8440
call fcn.004c27a4
test al, al
jne 0x4d835d
mov eax, 0xa
call fcn.004c358c
jmp 0x4d835d
lea edx, [ebp - 0x50]
mov eax, 1
call fcn.00403390
mov eax, dword [ebp - 0x50]
mov edx, 0x4d8460
call fcn.00409594
test al, al
je 0x4d80a8
mov eax, 0x4d8474
call fcn.004c27a4
test al, al
jne 0x4d835d
call fcn.00403330
cmp eax, 8
jl 0x4d835d
lea edx, [ebp - 0x54]
mov eax, 2
call fcn.00403390
mov eax, dword [ebp - 0x54]
xor edx, edx
call fcn.00409af0
mov ebx, eax
test ebx, ebx
je 0x4d835d
mov edx, 0x4f21dc
mov eax, 3
call fcn.00403390
lea edx, [ebp - 0x5c]
mov eax, 4
call fcn.00403390
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 0x58]
call fcn.0040968c
mov edx, dword [ebp - 0x58]
mov eax, 0x4f21e0
call fcn.00404ee0
lea edx, [ebp - 0x60]
mov eax, dword [0x4f21dc]
call fcn.0040968c
cmp dword [ebp - 0x60], 0
jne 0x4d7f08
cmp dword [0x4f21e0], 0
je 0x4d835d
lea edx, [ebp - 0x64]
mov eax, 5
call fcn.00403390
mov eax, dword [ebp - 0x64]
or edx, 0xffffffff
call fcn.00409af0
mov esi, eax
lea edx, [ebp - 0x68]
mov eax, 6
call fcn.00403390
mov eax, dword [ebp - 0x68]
or edx, 0xffffffff
call fcn.00409af0
mov edi, eax
lea edx, [ebp - 0x6c]
mov eax, 7
call fcn.00403390
mov eax, dword [ebp - 0x6c]
or edx, 0xffffffff
call fcn.00409af0
mov dword [0x4f21e4], eax
lea edx, [ebp - 0x70]
mov eax, 8
call fcn.00403390
mov eax, dword [ebp - 0x70]
or edx, 0xffffffff
call fcn.00409af0
mov dword [0x4f21e8], eax
test esi, esi
jl 0x4d835d
test edi, edi
jl 0x4d835d
cmp dword [0x4f21e4], 0
jl 0x4d835d
cmp dword [0x4f21e8], 0
jl 0x4d835d
lea edx, [ebp - 0x74]
mov eax, 9
call fcn.00403390
mov eax, dword [ebp - 0x74]
xor edx, edx
call fcn.00409bd8
mov byte [0x4f21f4], al
lea edx, [ebp - 0x78]
mov eax, 0xa
call fcn.00403390
mov eax, dword [ebp - 0x78]
mov edx, 0xc8
call fcn.00409af0
mov dword [0x4f21ec], eax
lea edx, [ebp - 0x7c]
mov eax, 0xb
call fcn.00403390
mov eax, dword [ebp - 0x7c]
mov edx, 0x64
call fcn.00409af0
mov dword [0x4f21f0], eax
lea edx, [ebp - 0x80]
mov eax, 0xc
call fcn.00403390
mov eax, dword [ebp - 0x80]
mov edx, 0xea60
call fcn.00409af0
mov dword [0x4f21d8], eax
lea edx, [ebp - 0x84]
mov eax, 0xd
call fcn.00403390
mov eax, dword [ebp - 0x84]
mov edx, 0xffffff
call fcn.004a7a8c
mov dword [0x4f21f8], eax
lea edx, [ebp - 0x88]
mov eax, 0xe
call fcn.00403390
mov eax, dword [ebp - 0x88]
xor edx, edx
call fcn.004a7a8c
push esi
push edi
mov edx, dword [0x4f21e4]
push edx
mov edx, dword [0x4f21e8]
push edx
movzx edx, byte [0x4f21f4]
push edx
mov edx, dword [0x4f21ec]
push edx
mov edx, dword [0x4f21f0]
push edx
mov edx, dword [0x4f21d8]
push edx
mov edx, dword [0x4f21f8]
push edx
push eax
mov ecx, dword [0x4f21e0]
mov edx, dword [0x4f21dc]
mov eax, ebx
call fcn.004d5014
jmp 0x4d835d
lea edx, [ebp - 0x8c]
mov eax, 1
call fcn.00403390
mov eax, dword [ebp - 0x8c]
mov edx, 0x4d8494
call fcn.00409594
test al, al
jne 0x4d835d
mov eax, 0x4d84a4
call fcn.004c27a4
test al, al
je 0x4d82c9
lea edx, [ebp - 0x90]
mov eax, 1
call fcn.00403390
mov eax, dword [ebp - 0x90]
mov edx, 0x4d84c4
call fcn.00409594
test al, al
jne 0x4d835d
lea edx, [ebp - 0x94]
mov eax, 1
call fcn.00403390
mov eax, dword [ebp - 0x94]
mov edx, 0x4d84d0
call fcn.00409594
test al, al
jne 0x4d835d
push 0
push 0x4d84dc
call sub.user32.dll_FindWindowA
mov ebx, eax
push 0
call fcn.00403330
push eax
push 0x7ff
push ebx
call sub.user32.dll_SendMessageA
dec eax
jne 0x4d835d
call fcn.00403330
test eax, eax
jle 0x4d835d
xor eax, eax
mov dword [0x4f21c8], eax
lea eax, [ebp - 0x9c]
push eax
push 0x4d84f8
lea edx, [ebp - 0xa4]
xor eax, eax
call fcn.00403390
push dword [ebp - 0xa4]
push 0x4d84f8
lea eax, [ebp - 0xa0]
mov edx, 3
call fcn.0040523c
mov eax, dword [ebp - 0xa0]
push eax
call sub.kernel32.dll_GetCommandLineA_1
mov edx, eax
lea eax, [ebp - 0xa8]
call fcn.00405084
mov eax, dword [ebp - 0xa8]
xor ecx, ecx
pop edx
call fcn.0040fa00
mov eax, dword [ebp - 0x9c]
lea edx, [ebp - 0x98]
call fcn.0040968c
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
test eax, eax
je 0x4d81f5
sub eax, 4
mov eax, dword [eax]
lea edi, [eax + 1]
mov dword [0x4f21cc], edi
mov eax, edi
call fcn.00402f44
mov esi, eax
mov dword [0x4f21d0], esi
xor eax, eax
push ebp
push 0x4d82c2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xb4]
push eax
push 0x4d84f8
lea edx, [ebp - 0xbc]
xor eax, eax
call fcn.00403390
push dword [ebp - 0xbc]
push 0x4d84f8
lea eax, [ebp - 0xb8]
mov edx, 3
call fcn.0040523c
mov eax, dword [ebp - 0xb8]
push eax
call sub.kernel32.dll_GetCommandLineA_1
mov edx, eax
lea eax, [ebp - 0xc0]
call fcn.00405084
mov eax, dword [ebp - 0xc0]
xor ecx, ecx
pop edx
call fcn.0040fa00
mov eax, dword [ebp - 0xb4]
lea edx, [ebp - 0xb0]
call fcn.0040968c
mov eax, dword [ebp - 0xb0]
call fcn.00405338
mov edx, eax
mov eax, esi
call fcn.0040a3ec
push 0x4f21c8
push 0
push 0x4a
push ebx
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d835d
mov eax, dword [0x4f21d0]
call fcn.00402f60
ret
mov eax, dword [0x4dc2a8]
mov eax, dword [eax]
call fcn.0046a564
lea edx, [ebp - 0xc4]
mov eax, 1
call fcn.00403390
mov eax, dword [ebp - 0xc4]
mov edx, 0x4d84c4
call fcn.00409594
test al, al
jne 0x4d831d
lea edx, [ebp - 0xc8]
mov eax, 1
call fcn.00403390
mov eax, dword [ebp - 0xc8]
mov edx, 0x4d84d0
call fcn.00409594
test al, al
je 0x4d8328
mov eax, dword [0x4dc2a8]
mov eax, dword [eax]
mov byte [eax + 0x5b], 0
mov eax, dword [0x4dc2a8]
mov eax, dword [eax]
mov edx, 0x4d83a4
call fcn.0046a01c
mov ecx, dword [0x4dc3cc]
mov eax, dword [0x4dc2a8]
mov eax, dword [eax]
mov edx, dword [0x4bd5e4]
call fcn.0046a57c
mov eax, dword [0x4dc2a8]
mov eax, dword [eax]
call fcn.0046a6b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d8392
lea eax, [ebp - 0xc8]
mov edx, 7
call fcn.00404eb0
lea eax, [ebp - 0xa8]
mov edx, 0x26
call fcn.00404eb0
ret