Function at 0x402dd8
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 8], 0
mov dword [0x406e80], 0
mov dword [ebp - 0x1c], 0
call fcn.00402c58
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 0x402e05
push dword [ebp - 4]
push dword [ebp - 8]
push ebp
call fcn.00403c08
push dword [ebp - 4]
mov eax, dword [0x406e80]
mov edx, dword [ebp - 8]
mov eax, dword [eax + edx*4]
push eax
mov eax, dword [ebp - 0x10]
push eax
call fcn.004031d8
call sub.kernel32.dll_GetCommandLineA
mov dword [0x405290], eax
mov edi, dword [0x405290]
mov dword [ebp - 0x10], edi
jmp 0x403018
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp byte [eax], 1
jb 0x402e61
cmp byte [eax], 0x21
jb 0x402e62
clc
jb 0x402e51
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
test al, al
je 0x403025
mov byte [ebp - 0x15], 0x20
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], 0
jmp 0x402f0a
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
cmp al, 1
jb 0x402f04
sub al, 0x20
jbe 0x402ef8
sub al, 2
je 0x402eca
sub al, 5
jne 0x402f04
mov al, byte [ebp - 0x15]
cmp al, 0x22
je 0x402ec5
mov eax, dword [ebp - 0x10]
inc eax
mov al, byte [eax]
cmp al, 0x27
je 0x402ec0
mov al, byte [ebp - 0x15]
cmp al, 0x27
jne 0x402eba
mov byte [ebp - 0x15], 0x20
jmp 0x402f07
mov byte [ebp - 0x15], 0x27
jmp 0x402f07
inc dword [ebp - 0x10]
jmp 0x402f07
inc dword [ebp - 4]
jmp 0x402f07
mov al, byte [ebp - 0x15]
cmp al, 0x27
je 0x402ef3
mov eax, dword [ebp - 0x10]
inc eax
mov al, byte [eax]
cmp al, 0x22
je 0x402eee
mov al, byte [ebp - 0x15]
cmp al, 0x22
jne 0x402ee8
mov byte [ebp - 0x15], 0x20
jmp 0x402f07
mov byte [ebp - 0x15], 0x22
jmp 0x402f07
inc dword [ebp - 0x10]
jmp 0x402f07
inc dword [ebp - 4]
jmp 0x402f07
mov al, byte [ebp - 0x15]
cmp al, 0x20
je 0x402f17
inc dword [ebp - 4]
jmp 0x402f07
inc dword [ebp - 4]
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
test al, al
jne 0x402e87
mov eax, dword [ebp - 8]
test eax, eax
je 0x403015
push dword [ebp - 4]
push dword [ebp - 8]
push ebp
call fcn.00403c08
mov byte [ebp - 0x15], 0x20
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x10], edi
mov eax, dword [0x406e80]
mov edx, dword [ebp - 8]
mov edi, dword [eax + edx*4]
mov dword [ebp - 0x14], edi
jmp 0x403002
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
cmp al, 1
jb 0x402ff2
sub al, 0x20
jbe 0x402fdc
sub al, 2
je 0x402fa4
sub al, 5
jne 0x402ff2
mov al, byte [ebp - 0x15]
cmp al, 0x22
je 0x402f95
mov eax, dword [ebp - 0x10]
inc eax
mov al, byte [eax]
cmp al, 0x27
je 0x402f90
mov al, byte [ebp - 0x15]
cmp al, 0x27
jne 0x402f8a
mov byte [ebp - 0x15], 0x20
jmp 0x402fff
mov byte [ebp - 0x15], 0x27
jmp 0x402fff
inc dword [ebp - 0x10]
jmp 0x402fff
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov bl, byte [edx]
mov byte [eax], bl
inc dword [ebp - 0x14]
jmp 0x402fff
mov al, byte [ebp - 0x15]
cmp al, 0x27
je 0x402fcd
mov eax, dword [ebp - 0x10]
inc eax
mov al, byte [eax]
cmp al, 0x22
je 0x402fc8
mov al, byte [ebp - 0x15]
cmp al, 0x22
jne 0x402fc2
mov byte [ebp - 0x15], 0x20
jmp 0x402fff
mov byte [ebp - 0x15], 0x22
jmp 0x402fff
inc dword [ebp - 0x10]
jmp 0x402fff
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov bl, byte [edx]
mov byte [eax], bl
inc dword [ebp - 0x14]
jmp 0x402fff
mov al, byte [ebp - 0x15]
cmp al, 0x20
je 0x40300f
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov bl, byte [edx]
mov byte [eax], bl
inc dword [ebp - 0x14]
jmp 0x402fff
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 0x402f4b
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 0x402e54
mov edi, dword [ebp - 8]
mov dword [0x406e90], edi
push 0
push dword [0x406e90]
push ebp
call fcn.00403c08
mov eax, dword [0x406e90]
inc eax
shl eax, 2
push eax
push 0x406e80
call fcn.00403c68
leave
ret