Function at 0x408c8a
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
and dword [ebp - 0x10], 0
and dword [ebp - 4], 0
and dword [ebp - 8], 0
and dword [ebp - 0xc], 0
push 0x20
push 0
push dword [ebp + 8]
call fcn.0042cd80
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x408d17
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
call fcn.00407c6d
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x408cef
mov dword [ebp - 0x10], 0x80004005
push dword [ebp - 0x10]
push 0x25
push 0x404b7c
call fcn.0040e33f
push 0x404bb8
push dword [ebp - 0x10]
call fcn.0040b4e0
pop ecx
pop ecx
jmp 0x40914d
mov dword [ebp - 0x14], 1
jmp 0x408d27
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 4]
jge 0x4090f8
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
push dword [ecx + eax*4]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 2
jle 0x408db7
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + eax*4]
movzx eax, word [eax]
cmp eax, 0x2d
jne 0x408db7
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + eax*4]
movzx eax, word [eax + 2]
cmp eax, 0x2d
jne 0x408db7
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
push dword [ecx + eax*4]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 7
jne 0x408db7
push 0xffffffffffffffff
push 0x404bd4
push 5
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + eax*4]
add eax, 4
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x408db7
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 1
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + eax*4]
movzx eax, word [eax]
cmp eax, 0x2d
je 0x408ddd
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + eax*4]
movzx eax, word [eax]
cmp eax, 0x2f
jne 0x4090f3
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
push dword [ecx + eax*4]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 3
jle 0x408e53
push 0xffffffffffffffff
push 0x404be0
push 2
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + eax*4]
inc eax
inc eax
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x408e53
push 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + eax*4]
add eax, 6
push eax
push dword [ebp + 8]
call fcn.0040be53
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x408e4e
push 0x404be8
push dword [ebp - 0x10]
call fcn.0040b4e0
pop ecx
pop ecx
jmp 0x40914d
jmp 0x4090f3
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
push dword [ecx + eax*4]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 3
jle 0x408ed7
push 0xffffffffffffffff
push 0x404c04
push 2
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + eax*4]
inc eax
inc eax
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x408ed7
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 1
push 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + eax*4]
add eax, 6
push eax
mov eax, dword [ebp + 8]
add eax, 8
push eax
call fcn.0040be53
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x408ed2
push 0x404c0c
push dword [ebp - 0x10]
call fcn.0040b4e0
pop ecx
pop ecx
jmp 0x40914d
jmp 0x4090f3
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
push dword [ecx + eax*4]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 9
jle 0x408f5b
push 0xffffffffffffffff
push 0x404c34
push 8
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + eax*4]
inc eax
inc eax
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x408f5b
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 1
push 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + eax*4]
add eax, 0x12
push eax
mov eax, dword [ebp + 8]
add eax, 8
push eax
call fcn.0040be53
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x408f56
push 0x404c0c
push dword [ebp - 0x10]
call fcn.0040b4e0
pop ecx
pop ecx
jmp 0x40914d
jmp 0x4090f3
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
push dword [ecx + eax*4]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 3
jle 0x408fd5
push 0xffffffffffffffff
push 0x404c48
push 2
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + eax*4]
inc eax
inc eax
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x408fd5
push 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + eax*4]
add eax, 6
push eax
mov eax, dword [ebp + 8]
add eax, 4
push eax
call fcn.0040be53
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x408fd0
push 0x4041b8
push dword [ebp - 0x10]
call fcn.0040b4e0
pop ecx
pop ecx
jmp 0x40914d
jmp 0x4090f3
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
push dword [ecx + eax*4]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 2
jne 0x40901c
push 0xffffffffffffffff
push 0x404c50
push 1
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + eax*4]
inc eax
inc eax
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x40901c
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 1
jmp 0x4090f3
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
push dword [ecx + eax*4]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 8
jne 0x409063
push 0xffffffffffffffff
push 0x404c54
push 7
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + eax*4]
inc eax
inc eax
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x409063
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 1
jmp 0x4090f3
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
push dword [ecx + eax*4]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 2
jne 0x4090a7
push 0xffffffffffffffff
push 0x404c64
push 1
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + eax*4]
inc eax
inc eax
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x4090a7
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 1
jmp 0x4090f3
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
push dword [ecx + eax*4]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 2
jne 0x4090f3
push 0xffffffffffffffff
push 0x404c68
push 1
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + eax*4]
inc eax
inc eax
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x4090f3
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 1
jmp 0x408d20
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x409126
push 0
push dword [ebp + 8]
call fcn.0040f733
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x409126
push 0x404c6c
push dword [ebp - 0x10]
call fcn.0040b4e0
pop ecx
pop ecx
jmp 0x40914d
mov eax, dword [ebp + 8]
add eax, 0xc
push eax
push dword [ebp - 0xc]
call fcn.00409163
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x40914d
push 0x404c90
push dword [ebp - 0x10]
call fcn.0040b4e0
pop ecx
pop ecx
cmp dword [ebp - 8], 0
je 0x40915c
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x10]
leave
ret 4