Function at 0x404cc0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 8], 0
mov dword [0x416000], 0
mov dword [ebp - 0x1c], 0
call fcn.00404a10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
lea esi, [esi]
inc dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov al, byte [eax + edx]
test al, al
jne 0x404cf0
mov ecx, edx
mov edx, dword [ebp - 8]
mov eax, ebp
call fcn.004059a0
mov ecx, dword [ebp - 4]
mov edx, dword [0x416000]
mov eax, dword [ebp - 8]
mov edx, dword [edx + eax*4]
mov eax, dword [ebp - 0x10]
call fcn.00401f20
call sub.kernel32.dll_GetCommandLineA_1
mov dword [0x413790], eax
mov dword [ebp - 0x10], eax
jmp 0x404f1e
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
dec eax
cmp eax, 0x20
jb 0x404d3c
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
test al, al
je 0x404f2b
mov byte [ebp - 0x18], 0x20
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
jmp 0x404e05
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
cmp al, 1
jb 0x404dff
sub al, 0x20
jbe 0x404d8e
sub al, 2
je 0x404da3
sub al, 5
je 0x404dd1
jmp 0x404dff
mov al, byte [ebp - 0x18]
cmp al, 0x20
je 0x404e12
inc dword [ebp - 4]
jmp 0x404e02
mov al, byte [ebp - 0x18]
cmp al, 0x27
je 0x404dcc
mov eax, dword [ebp - 0x10]
inc eax
mov al, byte [eax]
cmp al, 0x22
je 0x404dc7
mov al, byte [ebp - 0x18]
cmp al, 0x22
jne 0x404dc1
mov byte [ebp - 0x18], 0x20
jmp 0x404e02
mov byte [ebp - 0x18], 0x22
jmp 0x404e02
inc dword [ebp - 0x10]
jmp 0x404e02
inc dword [ebp - 4]
jmp 0x404e02
mov al, byte [ebp - 0x18]
cmp al, 0x22
je 0x404dfa
mov eax, dword [ebp - 0x10]
inc eax
mov al, byte [eax]
cmp al, 0x27
je 0x404df5
mov al, byte [ebp - 0x18]
cmp al, 0x27
jne 0x404def
mov byte [ebp - 0x18], 0x20
jmp 0x404e02
mov byte [ebp - 0x18], 0x27
jmp 0x404e02
inc dword [ebp - 0x10]
jmp 0x404e02
inc dword [ebp - 4]
jmp 0x404e02
inc dword [ebp - 4]
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
test al, al
jne 0x404d70
mov eax, dword [ebp - 8]
test eax, eax
je 0x404f1b
mov ecx, dword [ebp - 4]
mov edx, eax
mov eax, ebp
call fcn.004059a0
mov byte [ebp - 0x18], 0x20
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [0x416000]
mov edx, dword [ebp - 8]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x14], eax
jmp 0x404f08
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
cmp al, 1
jb 0x404ef8
sub al, 0x20
jbe 0x404e66
sub al, 2
je 0x404e88
sub al, 5
je 0x404ec0
jmp 0x404ef8
mov al, byte [ebp - 0x18]
cmp al, 0x20
je 0x404f15
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov al, byte [eax]
mov byte [edx], al
inc dword [ebp - 0x14]
jmp 0x404f05
mov al, byte [ebp - 0x18]
cmp al, 0x27
je 0x404eb1
mov eax, dword [ebp - 0x10]
inc eax
mov al, byte [eax]
cmp al, 0x22
je 0x404eac
mov al, byte [ebp - 0x18]
cmp al, 0x22
jne 0x404ea6
mov byte [ebp - 0x18], 0x20
jmp 0x404f05
mov byte [ebp - 0x18], 0x22
jmp 0x404f05
inc dword [ebp - 0x10]
jmp 0x404f05
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov al, byte [eax]
mov byte [edx], al
inc dword [ebp - 0x14]
jmp 0x404f05
mov al, byte [ebp - 0x18]
cmp al, 0x22
je 0x404ee9
mov eax, dword [ebp - 0x10]
inc eax
mov al, byte [eax]
cmp al, 0x27
je 0x404ee4
mov al, byte [ebp - 0x18]
cmp al, 0x27
jne 0x404ede
mov byte [ebp - 0x18], 0x20
jmp 0x404f05
mov byte [ebp - 0x18], 0x27
jmp 0x404f05
inc dword [ebp - 0x10]
jmp 0x404f05
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov al, byte [eax]
mov byte [edx], al
inc dword [ebp - 0x14]
jmp 0x404f05
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov al, byte [eax]
mov byte [edx], al
inc dword [ebp - 0x14]
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
test al, al
jne 0x404e48
mov eax, dword [ebp - 0x14]
mov byte [eax], 0
inc dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
test al, al
jne 0x404d3f
mov eax, dword [ebp - 8]
mov dword [0x416010], eax
mov ecx, 0
mov edx, eax
mov eax, ebp
call fcn.004059a0
mov edx, dword [0x416010]
inc edx
shl edx, 2
mov eax, 0x416000
call fcn.00405a00
leave
ret