Function at 0x4036f0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 8], 0
mov dword [0x40afb0], 0
mov dword [ebp - 0x1c], 0
call fcn.00403440
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 0x403720
mov ecx, edx
mov edx, dword [ebp - 8]
mov eax, ebp
call fcn.00404220
mov ecx, dword [ebp - 4]
mov edx, dword [0x40afb0]
mov eax, dword [ebp - 8]
mov edx, dword [edx + eax*4]
mov eax, dword [ebp - 0x10]
call fcn.00401f20
call sub.KERNEL32.DLL_GetCommandLineA
mov dword [0x409410], eax
mov dword [ebp - 0x10], eax
jmp 0x40394e
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
dec eax
cmp eax, 0x20
jb 0x40376c
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
test al, al
je 0x40395b
mov byte [ebp - 0x18], 0x20
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
jmp 0x403835
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
cmp al, 1
jb 0x40382f
sub al, 0x20
jbe 0x4037be
sub al, 2
je 0x4037d3
sub al, 5
je 0x403801
jmp 0x40382f
mov al, byte [ebp - 0x18]
cmp al, 0x20
je 0x403842
inc dword [ebp - 4]
jmp 0x403832
mov al, byte [ebp - 0x18]
cmp al, 0x27
je 0x4037fc
mov eax, dword [ebp - 0x10]
inc eax
mov al, byte [eax]
cmp al, 0x22
je 0x4037f7
mov al, byte [ebp - 0x18]
cmp al, 0x22
jne 0x4037f1
mov byte [ebp - 0x18], 0x20
jmp 0x403832
mov byte [ebp - 0x18], 0x22
jmp 0x403832
inc dword [ebp - 0x10]
jmp 0x403832
inc dword [ebp - 4]
jmp 0x403832
mov al, byte [ebp - 0x18]
cmp al, 0x22
je 0x40382a
mov eax, dword [ebp - 0x10]
inc eax
mov al, byte [eax]
cmp al, 0x27
je 0x403825
mov al, byte [ebp - 0x18]
cmp al, 0x27
jne 0x40381f
mov byte [ebp - 0x18], 0x20
jmp 0x403832
mov byte [ebp - 0x18], 0x27
jmp 0x403832
inc dword [ebp - 0x10]
jmp 0x403832
inc dword [ebp - 4]
jmp 0x403832
inc dword [ebp - 4]
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
test al, al
jne 0x4037a0
mov eax, dword [ebp - 8]
test eax, eax
je 0x40394b
mov ecx, dword [ebp - 4]
mov edx, eax
mov eax, ebp
call fcn.00404220
mov byte [ebp - 0x18], 0x20
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [0x40afb0]
mov edx, dword [ebp - 8]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x14], eax
jmp 0x403938
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
cmp al, 1
jb 0x403928
sub al, 0x20
jbe 0x403896
sub al, 2
je 0x4038b8
sub al, 5
je 0x4038f0
jmp 0x403928
mov al, byte [ebp - 0x18]
cmp al, 0x20
je 0x403945
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov al, byte [eax]
mov byte [edx], al
inc dword [ebp - 0x14]
jmp 0x403935
mov al, byte [ebp - 0x18]
cmp al, 0x27
je 0x4038e1
mov eax, dword [ebp - 0x10]
inc eax
mov al, byte [eax]
cmp al, 0x22
je 0x4038dc
mov al, byte [ebp - 0x18]
cmp al, 0x22
jne 0x4038d6
mov byte [ebp - 0x18], 0x20
jmp 0x403935
mov byte [ebp - 0x18], 0x22
jmp 0x403935
inc dword [ebp - 0x10]
jmp 0x403935
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov al, byte [eax]
mov byte [edx], al
inc dword [ebp - 0x14]
jmp 0x403935
mov al, byte [ebp - 0x18]
cmp al, 0x22
je 0x403919
mov eax, dword [ebp - 0x10]
inc eax
mov al, byte [eax]
cmp al, 0x27
je 0x403914
mov al, byte [ebp - 0x18]
cmp al, 0x27
jne 0x40390e
mov byte [ebp - 0x18], 0x20
jmp 0x403935
mov byte [ebp - 0x18], 0x27
jmp 0x403935
inc dword [ebp - 0x10]
jmp 0x403935
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov al, byte [eax]
mov byte [edx], al
inc dword [ebp - 0x14]
jmp 0x403935
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 0x403878
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 0x40376f
mov eax, dword [ebp - 8]
mov dword [0x40afc0], eax
mov ecx, 0
mov edx, eax
mov eax, ebp
call fcn.00404220
mov edx, dword [0x40afc0]
inc edx
shl edx, 2
mov eax, 0x40afb0
call fcn.00404280
leave
ret