Function at 0x4041d0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ebx
call fcn.00406240
mov dword [ebp - 8], 0
mov dword [0x40c0b0], 0
mov dword [ebp - 0x1c], 0
call fcn.00403ef0
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 0x404208
mov ecx, edx
mov edx, dword [ebp - 8]
mov eax, ebp
call fcn.00406280
mov ecx, dword [ebp - 4]
inc ecx
mov edx, dword [0x40c0b0]
mov eax, dword [ebp - 8]
mov eax, dword [edx + eax*4]
mov ebx, dword [ebp - 0x10]
mov edx, eax
mov eax, ebx
call fcn.00403880
call sub.kernel32.dll_GetCommandLineA
mov dword [0x40a3e0], eax
mov dword [ebp - 0x10], eax
jmp 0x404431
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
dec eax
cmp eax, 0x20
jb 0x404258
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
test al, al
je 0x40443e
mov byte [ebp - 0x18], 0x20
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
jmp 0x40431c
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
cmp al, 1
jb 0x404316
sub al, 0x20
jbe 0x4042aa
sub al, 2
je 0x4042ba
sub al, 5
je 0x4042e8
jmp 0x404316
mov al, byte [ebp - 0x18]
cmp al, 0x20
je 0x404329
inc dword [ebp - 4]
jmp 0x404319
mov al, byte [ebp - 0x18]
cmp al, 0x27
je 0x4042e3
mov eax, dword [ebp - 0x10]
inc eax
mov al, byte [eax]
cmp al, 0x22
je 0x4042de
mov al, byte [ebp - 0x18]
cmp al, 0x22
jne 0x4042d8
mov byte [ebp - 0x18], 0x20
jmp 0x404319
mov byte [ebp - 0x18], 0x22
jmp 0x404319
inc dword [ebp - 0x10]
jmp 0x404319
inc dword [ebp - 4]
jmp 0x404319
mov al, byte [ebp - 0x18]
cmp al, 0x22
je 0x404311
mov eax, dword [ebp - 0x10]
inc eax
mov al, byte [eax]
cmp al, 0x27
je 0x40430c
mov al, byte [ebp - 0x18]
cmp al, 0x27
jne 0x404306
mov byte [ebp - 0x18], 0x20
jmp 0x404319
mov byte [ebp - 0x18], 0x27
jmp 0x404319
inc dword [ebp - 0x10]
jmp 0x404319
inc dword [ebp - 4]
jmp 0x404319
inc dword [ebp - 4]
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
test al, al
jne 0x40428c
mov eax, dword [ebp - 8]
test eax, eax
je 0x40442e
mov ecx, dword [ebp - 4]
mov edx, eax
mov eax, ebp
call fcn.00406280
mov byte [ebp - 0x18], 0x20
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [0x40c0b0]
mov edx, dword [ebp - 8]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x14], eax
jmp 0x40441b
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
cmp al, 1
jb 0x40440b
sub al, 0x20
jbe 0x40437e
sub al, 2
je 0x40439b
sub al, 5
je 0x4043d3
jmp 0x40440b
mov al, byte [ebp - 0x18]
cmp al, 0x20
je 0x404428
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov al, byte [eax]
mov byte [edx], al
inc dword [ebp - 0x14]
jmp 0x404418
mov al, byte [ebp - 0x18]
cmp al, 0x27
je 0x4043c4
mov eax, dword [ebp - 0x10]
inc eax
mov al, byte [eax]
cmp al, 0x22
je 0x4043bf
mov al, byte [ebp - 0x18]
cmp al, 0x22
jne 0x4043b9
mov byte [ebp - 0x18], 0x20
jmp 0x404418
mov byte [ebp - 0x18], 0x22
jmp 0x404418
inc dword [ebp - 0x10]
jmp 0x404418
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov al, byte [eax]
mov byte [edx], al
inc dword [ebp - 0x14]
jmp 0x404418
mov al, byte [ebp - 0x18]
cmp al, 0x22
je 0x4043fc
mov eax, dword [ebp - 0x10]
inc eax
mov al, byte [eax]
cmp al, 0x27
je 0x4043f7
mov al, byte [ebp - 0x18]
cmp al, 0x27
jne 0x4043f1
mov byte [ebp - 0x18], 0x20
jmp 0x404418
mov byte [ebp - 0x18], 0x27
jmp 0x404418
inc dword [ebp - 0x10]
jmp 0x404418
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov al, byte [eax]
mov byte [edx], al
inc dword [ebp - 0x14]
jmp 0x404418
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 0x404360
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 0x40425b
mov eax, dword [ebp - 8]
mov dword [0x40c0c0], eax
mov ecx, 0
mov edx, eax
mov eax, ebp
call fcn.00406280
mov edx, dword [0x40c0c0]
inc edx
shl edx, 2
mov eax, 0x40c0b0
call fcn.00406320
mov ebx, dword [ebp - 0x20]
leave
ret