Function at 0x4030a0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 8], 0
mov dword [0xa92220], 0
mov dword [ebp - 0x1c], 0
call fcn.00402df0
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 0x4030d0
mov ecx, edx
mov edx, dword [ebp - 8]
mov eax, ebp
call fcn.00404510
mov ecx, dword [ebp - 4]
mov edx, dword [0xa92220]
mov eax, dword [ebp - 8]
mov edx, dword [edx + eax*4]
mov eax, dword [ebp - 0x10]
call fcn.00402a10
call sub.kernel32.dll_GetCommandLineA
mov dword [0x40f260], eax
mov dword [ebp - 0x10], eax
jmp 0x4032fe
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
dec eax
cmp eax, 0x20
jb 0x40311c
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
test al, al
je 0x40330b
mov byte [ebp - 0x18], 0x20
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
jmp 0x4031e5
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
cmp al, 1
jb 0x4031df
sub al, 0x20
jbe 0x40316e
sub al, 2
je 0x403183
sub al, 5
je 0x4031b1
jmp 0x4031df
mov al, byte [ebp - 0x18]
cmp al, 0x20
je 0x4031f2
inc dword [ebp - 4]
jmp 0x4031e2
mov al, byte [ebp - 0x18]
cmp al, 0x27
je 0x4031ac
mov eax, dword [ebp - 0x10]
inc eax
mov al, byte [eax]
cmp al, 0x22
je 0x4031a7
mov al, byte [ebp - 0x18]
cmp al, 0x22
jne 0x4031a1
mov byte [ebp - 0x18], 0x20
jmp 0x4031e2
mov byte [ebp - 0x18], 0x22
jmp 0x4031e2
inc dword [ebp - 0x10]
jmp 0x4031e2
inc dword [ebp - 4]
jmp 0x4031e2
mov al, byte [ebp - 0x18]
cmp al, 0x22
je 0x4031da
mov eax, dword [ebp - 0x10]
inc eax
mov al, byte [eax]
cmp al, 0x27
je 0x4031d5
mov al, byte [ebp - 0x18]
cmp al, 0x27
jne 0x4031cf
mov byte [ebp - 0x18], 0x20
jmp 0x4031e2
mov byte [ebp - 0x18], 0x27
jmp 0x4031e2
inc dword [ebp - 0x10]
jmp 0x4031e2
inc dword [ebp - 4]
jmp 0x4031e2
inc dword [ebp - 4]
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
test al, al
jne 0x403150
mov eax, dword [ebp - 8]
test eax, eax
je 0x4032fb
mov ecx, dword [ebp - 4]
mov edx, eax
mov eax, ebp
call fcn.00404510
mov byte [ebp - 0x18], 0x20
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [0xa92220]
mov edx, dword [ebp - 8]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x14], eax
jmp 0x4032e8
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
cmp al, 1
jb 0x4032d8
sub al, 0x20
jbe 0x403246
sub al, 2
je 0x403268
sub al, 5
je 0x4032a0
jmp 0x4032d8
mov al, byte [ebp - 0x18]
cmp al, 0x20
je 0x4032f5
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov al, byte [eax]
mov byte [edx], al
inc dword [ebp - 0x14]
jmp 0x4032e5
mov al, byte [ebp - 0x18]
cmp al, 0x27
je 0x403291
mov eax, dword [ebp - 0x10]
inc eax
mov al, byte [eax]
cmp al, 0x22
je 0x40328c
mov al, byte [ebp - 0x18]
cmp al, 0x22
jne 0x403286
mov byte [ebp - 0x18], 0x20
jmp 0x4032e5
mov byte [ebp - 0x18], 0x22
jmp 0x4032e5
inc dword [ebp - 0x10]
jmp 0x4032e5
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov al, byte [eax]
mov byte [edx], al
inc dword [ebp - 0x14]
jmp 0x4032e5
mov al, byte [ebp - 0x18]
cmp al, 0x22
je 0x4032c9
mov eax, dword [ebp - 0x10]
inc eax
mov al, byte [eax]
cmp al, 0x27
je 0x4032c4
mov al, byte [ebp - 0x18]
cmp al, 0x27
jne 0x4032be
mov byte [ebp - 0x18], 0x20
jmp 0x4032e5
mov byte [ebp - 0x18], 0x27
jmp 0x4032e5
inc dword [ebp - 0x10]
jmp 0x4032e5
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov al, byte [eax]
mov byte [edx], al
inc dword [ebp - 0x14]
jmp 0x4032e5
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 0x403228
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 0x40311f
mov eax, dword [ebp - 8]
mov dword [0xa92230], eax
mov ecx, 0
mov edx, eax
mov eax, ebp
call fcn.00404510
mov edx, dword [0xa92230]
inc edx
shl edx, 2
mov eax, 0xa92220
call fcn.004045b0
leave
ret