Function at 0x403748
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 8], 0
mov dword [0x407e80], 0
mov dword [ebp - 0x1c], 0
call fcn.004035c8
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 0x403775
push dword [ebp - 4]
push dword [ebp - 8]
push ebp
call fcn.00404b98
push dword [ebp - 4]
mov eax, dword [0x407e80]
mov edx, dword [ebp - 8]
mov eax, dword [eax + edx*4]
push eax
mov eax, dword [ebp - 0x10]
push eax
call fcn.00403b48
call sub.kernel32.dll_GetCommandLineA
mov dword [0x406360], eax
mov edi, dword [0x406360]
mov dword [ebp - 0x10], edi
jmp 0x403988
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp byte [eax], 1
jb 0x4037d1
cmp byte [eax], 0x21
jb 0x4037d2
clc
jb 0x4037c1
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
test al, al
je 0x403995
mov byte [ebp - 0x15], 0x20
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], 0
jmp 0x40387a
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
cmp al, 1
jb 0x403874
sub al, 0x20
jbe 0x403868
sub al, 2
je 0x40383a
sub al, 5
jne 0x403874
mov al, byte [ebp - 0x15]
cmp al, 0x22
je 0x403835
mov eax, dword [ebp - 0x10]
inc eax
mov al, byte [eax]
cmp al, 0x27
je 0x403830
mov al, byte [ebp - 0x15]
cmp al, 0x27
jne 0x40382a
mov byte [ebp - 0x15], 0x20
jmp 0x403877
mov byte [ebp - 0x15], 0x27
jmp 0x403877
inc dword [ebp - 0x10]
jmp 0x403877
inc dword [ebp - 4]
jmp 0x403877
mov al, byte [ebp - 0x15]
cmp al, 0x27
je 0x403863
mov eax, dword [ebp - 0x10]
inc eax
mov al, byte [eax]
cmp al, 0x22
je 0x40385e
mov al, byte [ebp - 0x15]
cmp al, 0x22
jne 0x403858
mov byte [ebp - 0x15], 0x20
jmp 0x403877
mov byte [ebp - 0x15], 0x22
jmp 0x403877
inc dword [ebp - 0x10]
jmp 0x403877
inc dword [ebp - 4]
jmp 0x403877
mov al, byte [ebp - 0x15]
cmp al, 0x20
je 0x403887
inc dword [ebp - 4]
jmp 0x403877
inc dword [ebp - 4]
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
test al, al
jne 0x4037f7
mov eax, dword [ebp - 8]
test eax, eax
je 0x403985
push dword [ebp - 4]
push dword [ebp - 8]
push ebp
call fcn.00404b98
mov byte [ebp - 0x15], 0x20
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x10], edi
mov eax, dword [0x407e80]
mov edx, dword [ebp - 8]
mov edi, dword [eax + edx*4]
mov dword [ebp - 0x14], edi
jmp 0x403972
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
cmp al, 1
jb 0x403962
sub al, 0x20
jbe 0x40394c
sub al, 2
je 0x403914
sub al, 5
jne 0x403962
mov al, byte [ebp - 0x15]
cmp al, 0x22
je 0x403905
mov eax, dword [ebp - 0x10]
inc eax
mov al, byte [eax]
cmp al, 0x27
je 0x403900
mov al, byte [ebp - 0x15]
cmp al, 0x27
jne 0x4038fa
mov byte [ebp - 0x15], 0x20
jmp 0x40396f
mov byte [ebp - 0x15], 0x27
jmp 0x40396f
inc dword [ebp - 0x10]
jmp 0x40396f
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov bl, byte [edx]
mov byte [eax], bl
inc dword [ebp - 0x14]
jmp 0x40396f
mov al, byte [ebp - 0x15]
cmp al, 0x27
je 0x40393d
mov eax, dword [ebp - 0x10]
inc eax
mov al, byte [eax]
cmp al, 0x22
je 0x403938
mov al, byte [ebp - 0x15]
cmp al, 0x22
jne 0x403932
mov byte [ebp - 0x15], 0x20
jmp 0x40396f
mov byte [ebp - 0x15], 0x22
jmp 0x40396f
inc dword [ebp - 0x10]
jmp 0x40396f
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov bl, byte [edx]
mov byte [eax], bl
inc dword [ebp - 0x14]
jmp 0x40396f
mov al, byte [ebp - 0x15]
cmp al, 0x20
je 0x40397f
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov bl, byte [edx]
mov byte [eax], bl
inc dword [ebp - 0x14]
jmp 0x40396f
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 0x4038bb
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 0x4037c4
mov edi, dword [ebp - 8]
mov dword [0x407e90], edi
push 0
push dword [0x407e90]
push ebp
call fcn.00404b98
mov eax, dword [0x407e90]
inc eax
shl eax, 2
push eax
push 0x407e80
call fcn.00404bf8
leave
ret