Function at 0x40cca8
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 8], 0
mov dword [0x41131c], 0
mov dword [ebp - 0x1c], 0
call fcn.0040cc28
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 0x40ccd5
push dword [ebp - 4]
push dword [ebp - 8]
push ebp
call fcn.0040cc58
push dword [ebp - 4]
mov eax, dword [0x41131c]
mov edx, dword [ebp - 8]
mov eax, dword [eax + edx*4]
push eax
mov eax, dword [ebp - 0x10]
push eax
call fcn.00402958
call sub.kernel32.dll_GetCommandLineA
mov dword [0x40f058], eax
mov edi, dword [0x40f058]
mov dword [ebp - 0x10], edi
jmp 0x40cefd
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp byte [eax], 1
jb 0x40cd31
cmp byte [eax], 0x21
jb 0x40cd32
clc
jb 0x40cd21
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
test al, al
je 0x40cf0a
mov byte [ebp - 0x15], 0x20
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], 0
jmp 0x40cde6
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
cmp al, 1
jb 0x40cde0
sub al, 0x20
jbe 0x40cdd4
sub al, 2
je 0x40cda6
sub al, 5
jne 0x40cde0
mov al, byte [ebp - 0x15]
cmp al, 0x22
je 0x40cda1
mov eax, dword [ebp - 0x10]
inc eax
mov al, byte [eax]
cmp al, 0x27
je 0x40cd9c
mov al, byte [ebp - 0x15]
cmp al, 0x27
jne 0x40cd96
mov byte [ebp - 0x15], 0x20
jmp 0x40cde3
mov byte [ebp - 0x15], 0x27
jmp 0x40cde3
inc dword [ebp - 0x10]
jmp 0x40cde3
inc dword [ebp - 4]
jmp 0x40cde3
mov al, byte [ebp - 0x15]
cmp al, 0x27
je 0x40cdcf
mov eax, dword [ebp - 0x10]
inc eax
mov al, byte [eax]
cmp al, 0x22
je 0x40cdca
mov al, byte [ebp - 0x15]
cmp al, 0x22
jne 0x40cdc4
mov byte [ebp - 0x15], 0x20
jmp 0x40cde3
mov byte [ebp - 0x15], 0x22
jmp 0x40cde3
inc dword [ebp - 0x10]
jmp 0x40cde3
inc dword [ebp - 4]
jmp 0x40cde3
mov al, byte [ebp - 0x15]
cmp al, 0x20
je 0x40cdf3
inc dword [ebp - 4]
jmp 0x40cde3
inc dword [ebp - 4]
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
test al, al
jne 0x40cd57
mov eax, dword [ebp - 8]
test eax, eax
je 0x40cefa
push dword [ebp - 4]
push dword [ebp - 8]
push ebp
call fcn.0040cc58
mov byte [ebp - 0x15], 0x20
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x10], edi
mov eax, dword [0x41131c]
mov edx, dword [ebp - 8]
mov edi, dword [eax + edx*4]
mov dword [ebp - 0x14], edi
jmp 0x40cee7
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
cmp al, 1
jb 0x40ced7
sub al, 0x20
jbe 0x40cec1
sub al, 2
je 0x40ce89
sub al, 5
jne 0x40ced7
mov al, byte [ebp - 0x15]
cmp al, 0x22
je 0x40ce7a
mov eax, dword [ebp - 0x10]
inc eax
mov al, byte [eax]
cmp al, 0x27
je 0x40ce72
mov al, byte [ebp - 0x15]
cmp al, 0x27
jne 0x40ce69
mov byte [ebp - 0x15], 0x20
jmp 0x40cee4
mov byte [ebp - 0x15], 0x27
jmp 0x40cee4
inc dword [ebp - 0x10]
jmp 0x40cee4
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov bl, byte [edx]
mov byte [eax], bl
inc dword [ebp - 0x14]
jmp 0x40cee4
mov al, byte [ebp - 0x15]
cmp al, 0x27
je 0x40ceb2
mov eax, dword [ebp - 0x10]
inc eax
mov al, byte [eax]
cmp al, 0x22
je 0x40cead
mov al, byte [ebp - 0x15]
cmp al, 0x22
jne 0x40cea7
mov byte [ebp - 0x15], 0x20
jmp 0x40cee4
mov byte [ebp - 0x15], 0x22
jmp 0x40cee4
inc dword [ebp - 0x10]
jmp 0x40cee4
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov bl, byte [edx]
mov byte [eax], bl
inc dword [ebp - 0x14]
jmp 0x40cee4
mov al, byte [ebp - 0x15]
cmp al, 0x20
je 0x40cef4
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov bl, byte [edx]
mov byte [eax], bl
inc dword [ebp - 0x14]
jmp 0x40cee4
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 0x40ce27
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 0x40cd24
mov edi, dword [ebp - 8]
mov dword [0x411308], edi
push 0
push dword [0x411308]
push ebp
call fcn.0040cc58
mov eax, dword [0x411308]
inc eax
shl eax, 2
push eax
push 0x41131c
call fcn.00409e98
leave
ret