Function at 0x401e58
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 8], 0
mov dword [0x405c20], 0
mov dword [ebp - 0x1c], 0
call fcn.00401c68
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
inc dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov al, byte [eax + edx]
test al, al
jne 0x401e85
push dword [ebp - 4]
push dword [ebp - 8]
push ebp
call fcn.00402a48
push dword [ebp - 4]
mov eax, dword [0x405c20]
mov edx, dword [ebp - 8]
mov eax, dword [eax + edx*4]
push eax
mov eax, dword [ebp - 0x10]
push eax
call fcn.00402488
call sub.kernel32.dll_GetCommandLineA
mov dword [0x404150], eax
mov edi, dword [0x404150]
mov dword [ebp - 0x10], edi
jmp 0x402098
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp byte [eax], 1
jb 0x401ee1
cmp byte [eax], 0x21
jb 0x401ee2
clc
jb 0x401ed1
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
test al, al
je 0x4020a5
mov byte [ebp - 0x15], 0x20
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], 0
jmp 0x401f8a
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
cmp al, 1
jb 0x401f84
sub al, 0x20
jbe 0x401f78
sub al, 2
je 0x401f4a
sub al, 5
jne 0x401f84
mov al, byte [ebp - 0x15]
cmp al, 0x22
je 0x401f45
mov eax, dword [ebp - 0x10]
inc eax
mov al, byte [eax]
cmp al, 0x27
je 0x401f40
mov al, byte [ebp - 0x15]
cmp al, 0x27
jne 0x401f3a
mov byte [ebp - 0x15], 0x20
jmp 0x401f87
mov byte [ebp - 0x15], 0x27
jmp 0x401f87
inc dword [ebp - 0x10]
jmp 0x401f87
inc dword [ebp - 4]
jmp 0x401f87
mov al, byte [ebp - 0x15]
cmp al, 0x27
je 0x401f73
mov eax, dword [ebp - 0x10]
inc eax
mov al, byte [eax]
cmp al, 0x22
je 0x401f6e
mov al, byte [ebp - 0x15]
cmp al, 0x22
jne 0x401f68
mov byte [ebp - 0x15], 0x20
jmp 0x401f87
mov byte [ebp - 0x15], 0x22
jmp 0x401f87
inc dword [ebp - 0x10]
jmp 0x401f87
inc dword [ebp - 4]
jmp 0x401f87
mov al, byte [ebp - 0x15]
cmp al, 0x20
je 0x401f97
inc dword [ebp - 4]
jmp 0x401f87
inc dword [ebp - 4]
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
test al, al
jne 0x401f07
mov eax, dword [ebp - 8]
test eax, eax
je 0x402095
push dword [ebp - 4]
push dword [ebp - 8]
push ebp
call fcn.00402a48
mov byte [ebp - 0x15], 0x20
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x10], edi
mov eax, dword [0x405c20]
mov edx, dword [ebp - 8]
mov edi, dword [eax + edx*4]
mov dword [ebp - 0x14], edi
jmp 0x402082
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
cmp al, 1
jb 0x402072
sub al, 0x20
jbe 0x40205c
sub al, 2
je 0x402024
sub al, 5
jne 0x402072
mov al, byte [ebp - 0x15]
cmp al, 0x22
je 0x402015
mov eax, dword [ebp - 0x10]
inc eax
mov al, byte [eax]
cmp al, 0x27
je 0x402010
mov al, byte [ebp - 0x15]
cmp al, 0x27
jne 0x40200a
mov byte [ebp - 0x15], 0x20
jmp 0x40207f
mov byte [ebp - 0x15], 0x27
jmp 0x40207f
inc dword [ebp - 0x10]
jmp 0x40207f
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov bl, byte [edx]
mov byte [eax], bl
inc dword [ebp - 0x14]
jmp 0x40207f
mov al, byte [ebp - 0x15]
cmp al, 0x27
je 0x40204d
mov eax, dword [ebp - 0x10]
inc eax
mov al, byte [eax]
cmp al, 0x22
je 0x402048
mov al, byte [ebp - 0x15]
cmp al, 0x22
jne 0x402042
mov byte [ebp - 0x15], 0x20
jmp 0x40207f
mov byte [ebp - 0x15], 0x22
jmp 0x40207f
inc dword [ebp - 0x10]
jmp 0x40207f
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov bl, byte [edx]
mov byte [eax], bl
inc dword [ebp - 0x14]
jmp 0x40207f
mov al, byte [ebp - 0x15]
cmp al, 0x20
je 0x40208f
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov bl, byte [edx]
mov byte [eax], bl
inc dword [ebp - 0x14]
jmp 0x40207f
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov bl, byte [edx]
mov byte [eax], bl
inc dword [ebp - 0x14]
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
test al, al
jne 0x401fcb
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 0x401ed4
mov edi, dword [ebp - 8]
mov dword [0x405c30], edi
push 0
push dword [0x405c30]
push ebp
call fcn.00402a48
mov eax, dword [0x405c30]
inc eax
shl eax, 2
push eax
push 0x405c20
call fcn.00402aa8
leave
ret