Function at 0x404210
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ebx
call fcn.00405600
mov dword [ebp - 8], 0
mov dword [0x40dbd0], 0
mov dword [ebp - 0x1c], 0
call fcn.00403f30
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 0x404248
mov ecx, edx
mov edx, dword [ebp - 8]
mov eax, ebp
call fcn.00405640
mov ecx, dword [ebp - 4]
inc ecx
mov edx, dword [0x40dbd0]
mov eax, dword [ebp - 8]
mov eax, dword [edx + eax*4]
mov ebx, dword [ebp - 0x10]
mov edx, eax
mov eax, ebx
call fcn.00404bb0
call sub.kernel32.dll_GetCommandLineA
mov dword [0x40b4c0], eax
mov dword [ebp - 0x10], eax
jmp 0x404471
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
dec eax
cmp eax, 0x20
jb 0x404298
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
test al, al
je 0x40447e
mov byte [ebp - 0x18], 0x20
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
jmp 0x40435c
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
cmp al, 1
jb 0x404356
sub al, 0x20
jbe 0x4042ea
sub al, 2
je 0x4042fa
sub al, 5
je 0x404328
jmp 0x404356
mov al, byte [ebp - 0x18]
cmp al, 0x20
je 0x404369
inc dword [ebp - 4]
jmp 0x404359
mov al, byte [ebp - 0x18]
cmp al, 0x27
je 0x404323
mov eax, dword [ebp - 0x10]
inc eax
mov al, byte [eax]
cmp al, 0x22
je 0x40431e
mov al, byte [ebp - 0x18]
cmp al, 0x22
jne 0x404318
mov byte [ebp - 0x18], 0x20
jmp 0x404359
mov byte [ebp - 0x18], 0x22
jmp 0x404359
inc dword [ebp - 0x10]
jmp 0x404359
inc dword [ebp - 4]
jmp 0x404359
mov al, byte [ebp - 0x18]
cmp al, 0x22
je 0x404351
mov eax, dword [ebp - 0x10]
inc eax
mov al, byte [eax]
cmp al, 0x27
je 0x40434c
mov al, byte [ebp - 0x18]
cmp al, 0x27
jne 0x404346
mov byte [ebp - 0x18], 0x20
jmp 0x404359
mov byte [ebp - 0x18], 0x27
jmp 0x404359
inc dword [ebp - 0x10]
jmp 0x404359
inc dword [ebp - 4]
jmp 0x404359
inc dword [ebp - 4]
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
test al, al
jne 0x4042cc
mov eax, dword [ebp - 8]
test eax, eax
je 0x40446e
mov ecx, dword [ebp - 4]
mov edx, eax
mov eax, ebp
call fcn.00405640
mov byte [ebp - 0x18], 0x20
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [0x40dbd0]
mov edx, dword [ebp - 8]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x14], eax
jmp 0x40445b
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
cmp al, 1
jb 0x40444b
sub al, 0x20
jbe 0x4043be
sub al, 2
je 0x4043db
sub al, 5
je 0x404413
jmp 0x40444b
mov al, byte [ebp - 0x18]
cmp al, 0x20
je 0x404468
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov al, byte [eax]
mov byte [edx], al
inc dword [ebp - 0x14]
jmp 0x404458
mov al, byte [ebp - 0x18]
cmp al, 0x27
je 0x404404
mov eax, dword [ebp - 0x10]
inc eax
mov al, byte [eax]
cmp al, 0x22
je 0x4043ff
mov al, byte [ebp - 0x18]
cmp al, 0x22
jne 0x4043f9
mov byte [ebp - 0x18], 0x20
jmp 0x404458
mov byte [ebp - 0x18], 0x22
jmp 0x404458
inc dword [ebp - 0x10]
jmp 0x404458
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov al, byte [eax]
mov byte [edx], al
inc dword [ebp - 0x14]
jmp 0x404458
mov al, byte [ebp - 0x18]
cmp al, 0x22
je 0x40443c
mov eax, dword [ebp - 0x10]
inc eax
mov al, byte [eax]
cmp al, 0x27
je 0x404437
mov al, byte [ebp - 0x18]
cmp al, 0x27
jne 0x404431
mov byte [ebp - 0x18], 0x20
jmp 0x404458
mov byte [ebp - 0x18], 0x27
jmp 0x404458
inc dword [ebp - 0x10]
jmp 0x404458
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov al, byte [eax]
mov byte [edx], al
inc dword [ebp - 0x14]
jmp 0x404458
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 0x4043a0
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 0x40429b
mov eax, dword [ebp - 8]
mov dword [0x40dbe0], eax
mov ecx, 0
mov edx, eax
mov eax, ebp
call fcn.00405640
mov edx, dword [0x40dbe0]
inc edx
shl edx, 2
mov eax, 0x40dbd0
call fcn.004056e0
mov ebx, dword [ebp - 0x20]
leave
ret