Function at 0x4d2c70
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov dword [ebp - 0x254], ebx
mov dword [ebp - 0x228], 0
lea ecx, [ebp - 0x234]
lea edx, [ebp - 0x24c]
mov eax, 1
call fcn.0040b8a0
call fcn.0040d8a0
push eax
test eax, eax
jne 0x4d2f04
mov dword [0x63de20], 0
push 0x208
lea eax, [ebp - 0x220]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov dword [ebp - 4], eax
mov word [ebp + eax*2 - 0x220], 0
mov ecx, dword [ebp - 4]
mov eax, ebp
mov edx, 0
call fcn.004d2f30
mov ecx, dword [ebp - 4]
shl ecx, 1
mov eax, dword [0x63de10]
mov edx, dword [eax]
lea eax, [ebp - 0x220]
call fcn.004036f0
mov dword [ebp - 0x224], 0
call sub.kernel32.dll_GetCommandLineW
mov dword [ebp - 0x224], eax
call fcn.00404290
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x228]
call fcn.00408810
mov ecx, dword [ebp - 0xc]
shl ecx, 1
mov eax, dword [ebp - 0x224]
mov edx, dword [ebp - 0x228]
call fcn.004036f0
mov dword [ebp - 0x10], 1
jmp 0x4d2ef2
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jg 0x4d2d6f
mov eax, dword [ebp - 0x228]
mov edx, dword [ebp - 0x10]
mov ax, word [eax + edx*2 - 2]
cmp ax, 0x20
jbe 0x4d2d50
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jg 0x4d2efe
mov byte [ebp - 0x18], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
jmp 0x4d2df4
mov edx, dword [ebp - 0x228]
mov eax, dword [ebp - 0x10]
mov ax, word [edx + eax*2 - 2]
cmp ax, 1
jb 0x4d2dee
sub ax, 0x20
jbe 0x4d2db6
sub ax, 2
je 0x4d2dc1
jmp 0x4d2dee
cmp byte [ebp - 0x18], 0
je 0x4d2dfc
inc dword [ebp - 4]
jmp 0x4d2df1
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jge 0x4d2de9
mov edx, dword [ebp - 0x228]
mov eax, dword [ebp - 0x10]
inc eax
mov ax, word [edx + eax*2 - 2]
cmp ax, 0x22
je 0x4d2de9
mov al, byte [ebp - 0x18]
test al, al
sete byte [ebp - 0x18]
jmp 0x4d2df1
inc dword [ebp - 0x10]
jmp 0x4d2df1
inc dword [ebp - 4]
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jle 0x4d2d94
mov eax, dword [0x63de20]
test eax, eax
jle 0x4d2eec
mov ecx, dword [ebp - 4]
mov edx, dword [0x63de20]
mov eax, ebp
call fcn.004d2f30
mov byte [ebp - 0x18], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 1
jmp 0x4d2ee0
mov eax, dword [ebp - 0x228]
mov edx, dword [ebp - 0x10]
mov ax, word [eax + edx*2 - 2]
cmp ax, 1
jb 0x4d2eb6
sub ax, 0x20
jbe 0x4d2e56
sub ax, 2
je 0x4d2e89
jmp 0x4d2eb6
cmp byte [ebp - 0x18], 0
je 0x4d2eec
mov eax, dword [0x63de10]
mov edx, dword [0x63de20]
mov ecx, dword [eax + edx*4]
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x228]
mov eax, dword [ebp - 0x10]
mov ax, word [edx + eax*2 - 2]
mov word [ecx + ebx*2 - 2], ax
inc dword [ebp - 0x14]
jmp 0x4d2edd
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jge 0x4d2eb1
mov edx, dword [ebp - 0x228]
mov eax, dword [ebp - 0x10]
inc eax
mov ax, word [edx + eax*2 - 2]
cmp ax, 0x22
je 0x4d2eb1
mov al, byte [ebp - 0x18]
test al, al
sete byte [ebp - 0x18]
jmp 0x4d2edd
inc dword [ebp - 0x10]
jmp 0x4d2edd
mov edx, dword [0x63de10]
mov eax, dword [0x63de20]
mov ebx, dword [edx + eax*4]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x228]
mov eax, dword [ebp - 0x10]
mov ax, word [edx + eax*2 - 2]
mov word [ebx + ecx*2 - 2], ax
inc dword [ebp - 0x14]
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jle 0x4d2e30
inc dword [0x63de20]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jle 0x4d2d53
dec dword [0x63de20]
call fcn.0040bb70
lea eax, [ebp - 0x228]
call fcn.004082a0
mov dword [ebp - 0x228], 0
pop eax
test eax, eax
je 0x4d2f28
call fcn.0040bce0
mov ebx, dword [ebp - 0x254]
leave
ret