Function at 0x402c28
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 8], 0
mov dword [0x406e70], 0
mov dword [ebp - 0x1c], 0
call fcn.00402aa8
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 0x402c55
push dword [ebp - 4]
push dword [ebp - 8]
push ebp
call fcn.00403988
push dword [ebp - 4]
mov eax, dword [0x406e70]
mov edx, dword [ebp - 8]
mov eax, dword [eax + edx*4]
push eax
mov eax, dword [ebp - 0x10]
push eax
call fcn.00403028
call sub.kernel32.dll_GetCommandLineA
mov dword [0x405230], eax
mov edi, dword [0x405230]
mov dword [ebp - 0x10], edi
jmp 0x402e68
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp byte [eax], 1
jb 0x402cb1
cmp byte [eax], 0x21
jb 0x402cb2
clc
jb 0x402ca1
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
test al, al
je 0x402e75
mov byte [ebp - 0x15], 0x20
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], 0
jmp 0x402d5a
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
cmp al, 1
jb 0x402d54
sub al, 0x20
jbe 0x402d48
sub al, 2
je 0x402d1a
sub al, 5
jne 0x402d54
mov al, byte [ebp - 0x15]
cmp al, 0x22
je 0x402d15
mov eax, dword [ebp - 0x10]
inc eax
mov al, byte [eax]
cmp al, 0x27
je 0x402d10
mov al, byte [ebp - 0x15]
cmp al, 0x27
jne 0x402d0a
mov byte [ebp - 0x15], 0x20
jmp 0x402d57
mov byte [ebp - 0x15], 0x27
jmp 0x402d57
inc dword [ebp - 0x10]
jmp 0x402d57
inc dword [ebp - 4]
jmp 0x402d57
mov al, byte [ebp - 0x15]
cmp al, 0x27
je 0x402d43
mov eax, dword [ebp - 0x10]
inc eax
mov al, byte [eax]
cmp al, 0x22
je 0x402d3e
mov al, byte [ebp - 0x15]
cmp al, 0x22
jne 0x402d38
mov byte [ebp - 0x15], 0x20
jmp 0x402d57
mov byte [ebp - 0x15], 0x22
jmp 0x402d57
inc dword [ebp - 0x10]
jmp 0x402d57
inc dword [ebp - 4]
jmp 0x402d57
mov al, byte [ebp - 0x15]
cmp al, 0x20
je 0x402d67
inc dword [ebp - 4]
jmp 0x402d57
inc dword [ebp - 4]
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
test al, al
jne 0x402cd7
mov eax, dword [ebp - 8]
test eax, eax
je 0x402e65
push dword [ebp - 4]
push dword [ebp - 8]
push ebp
call fcn.00403988
mov byte [ebp - 0x15], 0x20
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x10], edi
mov eax, dword [0x406e70]
mov edx, dword [ebp - 8]
mov edi, dword [eax + edx*4]
mov dword [ebp - 0x14], edi
jmp 0x402e52
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
cmp al, 1
jb 0x402e42
sub al, 0x20
jbe 0x402e2c
sub al, 2
je 0x402df4
sub al, 5
jne 0x402e42
mov al, byte [ebp - 0x15]
cmp al, 0x22
je 0x402de5
mov eax, dword [ebp - 0x10]
inc eax
mov al, byte [eax]
cmp al, 0x27
je 0x402de0
mov al, byte [ebp - 0x15]
cmp al, 0x27
jne 0x402dda
mov byte [ebp - 0x15], 0x20
jmp 0x402e4f
mov byte [ebp - 0x15], 0x27
jmp 0x402e4f
inc dword [ebp - 0x10]
jmp 0x402e4f
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov bl, byte [edx]
mov byte [eax], bl
inc dword [ebp - 0x14]
jmp 0x402e4f
mov al, byte [ebp - 0x15]
cmp al, 0x27
je 0x402e1d
mov eax, dword [ebp - 0x10]
inc eax
mov al, byte [eax]
cmp al, 0x22
je 0x402e18
mov al, byte [ebp - 0x15]
cmp al, 0x22
jne 0x402e12
mov byte [ebp - 0x15], 0x20
jmp 0x402e4f
mov byte [ebp - 0x15], 0x22
jmp 0x402e4f
inc dword [ebp - 0x10]
jmp 0x402e4f
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov bl, byte [edx]
mov byte [eax], bl
inc dword [ebp - 0x14]
jmp 0x402e4f
mov al, byte [ebp - 0x15]
cmp al, 0x20
je 0x402e5f
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov bl, byte [edx]
mov byte [eax], bl
inc dword [ebp - 0x14]
jmp 0x402e4f
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 0x402d9b
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 0x402ca4
mov edi, dword [ebp - 8]
mov dword [0x406e80], edi
push 0
push dword [0x406e80]
push ebp
call fcn.00403988
mov eax, dword [0x406e80]
inc eax
shl eax, 2
push eax
push 0x406e70
call fcn.004039e8
leave
ret