Function at 0x4053f8
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 8], 0
mov dword [0x40aa90], 0
mov dword [ebp - 0x1c], 0
call fcn.00405278
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 0x405425
push dword [ebp - 4]
push dword [ebp - 8]
push ebp
call fcn.00406738
push dword [ebp - 4]
mov eax, dword [0x40aa90]
mov edx, dword [ebp - 8]
mov eax, dword [eax + edx*4]
push eax
mov eax, dword [ebp - 0x10]
push eax
call fcn.00404398
call sub.kernel32.dll_GetCommandLineA
mov dword [0x408ba0], eax
mov edi, dword [0x408ba0]
mov dword [ebp - 0x10], edi
jmp 0x405638
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp byte [eax], 1
jb 0x405481
cmp byte [eax], 0x21
jb 0x405482
clc
jb 0x405471
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
test al, al
je 0x405645
mov byte [ebp - 0x15], 0x20
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], 0
jmp 0x40552a
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
cmp al, 1
jb 0x405524
sub al, 0x20
jbe 0x405518
sub al, 2
je 0x4054ea
sub al, 5
jne 0x405524
mov al, byte [ebp - 0x15]
cmp al, 0x22
je 0x4054e5
mov eax, dword [ebp - 0x10]
inc eax
mov al, byte [eax]
cmp al, 0x27
je 0x4054e0
mov al, byte [ebp - 0x15]
cmp al, 0x27
jne 0x4054da
mov byte [ebp - 0x15], 0x20
jmp 0x405527
mov byte [ebp - 0x15], 0x27
jmp 0x405527
inc dword [ebp - 0x10]
jmp 0x405527
inc dword [ebp - 4]
jmp 0x405527
mov al, byte [ebp - 0x15]
cmp al, 0x27
je 0x405513
mov eax, dword [ebp - 0x10]
inc eax
mov al, byte [eax]
cmp al, 0x22
je 0x40550e
mov al, byte [ebp - 0x15]
cmp al, 0x22
jne 0x405508
mov byte [ebp - 0x15], 0x20
jmp 0x405527
mov byte [ebp - 0x15], 0x22
jmp 0x405527
inc dword [ebp - 0x10]
jmp 0x405527
inc dword [ebp - 4]
jmp 0x405527
mov al, byte [ebp - 0x15]
cmp al, 0x20
je 0x405537
inc dword [ebp - 4]
jmp 0x405527
inc dword [ebp - 4]
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
test al, al
jne 0x4054a7
mov eax, dword [ebp - 8]
test eax, eax
je 0x405635
push dword [ebp - 4]
push dword [ebp - 8]
push ebp
call fcn.00406738
mov byte [ebp - 0x15], 0x20
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x10], edi
mov eax, dword [0x40aa90]
mov edx, dword [ebp - 8]
mov edi, dword [eax + edx*4]
mov dword [ebp - 0x14], edi
jmp 0x405622
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
cmp al, 1
jb 0x405612
sub al, 0x20
jbe 0x4055fc
sub al, 2
je 0x4055c4
sub al, 5
jne 0x405612
mov al, byte [ebp - 0x15]
cmp al, 0x22
je 0x4055b5
mov eax, dword [ebp - 0x10]
inc eax
mov al, byte [eax]
cmp al, 0x27
je 0x4055b0
mov al, byte [ebp - 0x15]
cmp al, 0x27
jne 0x4055aa
mov byte [ebp - 0x15], 0x20
jmp 0x40561f
mov byte [ebp - 0x15], 0x27
jmp 0x40561f
inc dword [ebp - 0x10]
jmp 0x40561f
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov bl, byte [edx]
mov byte [eax], bl
inc dword [ebp - 0x14]
jmp 0x40561f
mov al, byte [ebp - 0x15]
cmp al, 0x27
je 0x4055ed
mov eax, dword [ebp - 0x10]
inc eax
mov al, byte [eax]
cmp al, 0x22
je 0x4055e8
mov al, byte [ebp - 0x15]
cmp al, 0x22
jne 0x4055e2
mov byte [ebp - 0x15], 0x20
jmp 0x40561f
mov byte [ebp - 0x15], 0x22
jmp 0x40561f
inc dword [ebp - 0x10]
jmp 0x40561f
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov bl, byte [edx]
mov byte [eax], bl
inc dword [ebp - 0x14]
jmp 0x40561f
mov al, byte [ebp - 0x15]
cmp al, 0x20
je 0x40562f
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov bl, byte [edx]
mov byte [eax], bl
inc dword [ebp - 0x14]
jmp 0x40561f
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 0x40556b
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 0x405474
mov edi, dword [ebp - 8]
mov dword [0x40aaa0], edi
push 0
push dword [0x40aaa0]
push ebp
call fcn.00406738
mov eax, dword [0x40aaa0]
inc eax
shl eax, 2
push eax
push 0x40aa90
call fcn.00406798
leave
ret