Function at 0x40b61e
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov eax, edx
xor ebx, ebx
mov dword [ebp - 0x10], eax
mov dword [0x41396c], ebx
push esi
push edi
test eax, eax
je 0x40b63f
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x40b64b
xor edx, edx
mov word [ecx], dx
mov edx, dword [ebp + 0x14]
test edx, edx
je 0x40b657
xor esi, esi
mov word [edx], si
mov esi, dword [ebp + 0x1c]
test esi, esi
je 0x40b663
xor edi, edi
mov word [esi], di
test ecx, ecx
jne 0x40b676
call fcn.0040d0d5
mov esi, 0x80070057
jmp 0x40b881
test eax, eax
je 0x40b667
test edx, edx
je 0x40b667
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
test eax, eax
js 0x40b869
mov esi, ebx
xor ebx, ebx
inc ebx
cmp eax, ebx
jbe 0x40b873
push 0x2d
pop ecx
push 0x2f
pop edx
mov eax, dword [ebp - 4]
mov edi, dword [eax + ebx*4]
movzx eax, word [edi]
cmp ax, cx
je 0x40b701
cmp ax, dx
je 0x40b701
mov eax, dword [0x41396c]
test eax, eax
je 0x40b6d7
test al, 2
je 0x40b862
mov eax, dword [ebp - 0x10]
xor ecx, ecx
cmp word [eax], cx
jne 0x40b862
push edi
mov edx, 0x144
mov ecx, eax
call fcn.00404e60
mov esi, eax
test esi, esi
js 0x40b86e
jmp 0x40b850
add edi, 2
push 0x4036cc
push edi
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x40b722
or dword [0x41396c], 1
jmp 0x40b850
push 0x4036e0
push edi
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x40b740
or dword [0x41396c], 3
jmp 0x40b850
push 0x4036ec
push edi
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x40b78b
or dword [0x41396c], 8
lea eax, [ebx + 1]
cmp eax, dword [ebp - 8]
jae 0x40b850
mov edi, dword [ebp + 0x14]
mov ebx, eax
mov eax, dword [ebp - 4]
mov edx, 0x144
push dword [eax + ebx*4]
mov ecx, edi
call fcn.00404d6e
mov esi, eax
test esi, esi
js 0x40b86e
movzx eax, word [edi]
jmp 0x40b806
push 0x403718
push edi
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x40b7c0
or dword [0x41396c], 5
lea eax, [ebx + 1]
cmp eax, dword [ebp - 8]
jae 0x40b850
mov edi, dword [ebp + 0xc]
mov ebx, eax
mov eax, dword [ebp - 4]
push dword [eax + ebx*4]
push 0x40
pop edx
jmp 0x40b775
push 0x403724
push edi
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x40b81c
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0x40b81c
or dword [0x41396c], 0x10
lea eax, [ebx + 1]
cmp eax, dword [ebp - 8]
jae 0x40b850
mov ebx, eax
mov edx, 0x824
mov eax, dword [ebp - 4]
push dword [eax + ebx*4]
call fcn.00404d6e
mov esi, eax
test esi, esi
js 0x40b86e
mov esi, dword [ebp + 0x1c]
movzx eax, word [esi]
push 0x2d
pop ecx
cmp ax, cx
je 0x40b862
push 0x2f
pop edx
cmp ax, dx
je 0x40b862
xor eax, eax
mov esi, eax
jmp 0x40b856
push 0x403748
push edi
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x40b837
or dword [0x41396c], 0x20
jmp 0x40b850
push 0x40375c
push edi
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x40b862
or dword [0x41396c], 0x40
push 0x2d
pop ecx
push 0x2f
pop edx
inc ebx
cmp ebx, dword [ebp - 8]
jb 0x40b6b3
jmp 0x40b873
mov esi, 0x80070057
jmp 0x40b86e
mov esi, 0x80070216
call fcn.0040d0d5
mov eax, dword [ebp - 4]
test eax, eax
je 0x40b881
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x1c