Function at 0x100d7f9
Capabilities:
Accept command line arguments

Disassembly:
add dword [ebp - 8], 2
mov eax, dword [ebp - 8]
inc esi
sar eax, 1
inc esi
cmp eax, edi
jb 0x100d846
jmp 0x100d85e
xor eax, eax
jmp 0x100d9a3
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x100d900
jmp 0x100d9a0
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push edi
push 0x7cf
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
mov edi, 0x7d0
push edi
mov ebx, 0x104a840
push ebx
call fcn.0100cd46
test eax, eax
jl 0x101e1b5
mov eax, dword [ebp + 8]
and dword [eax], 0
push esi
mov esi, ebx
cmp word [esi], 0
je 0x100d8a6
mov eax, esi
sub eax, ebx
mov ecx, eax
sar ecx, 1
cmp ecx, edi
jae 0x100d85e
mov dword [ebp - 8], eax
movzx eax, word [esi]
test ax, ax
je 0x100d85e
push eax
call dword [sym.imp.msvcrt.dll_iswspace]
pop ecx
test eax, eax
jne 0x100d7c8
mov eax, esi
sub eax, ebx
and eax, 0xfffffffe
cmp eax, 0xfa0
je 0x100d8a6
movzx eax, word [esi]
test ax, ax
je 0x100d8a6
cmp ax, 0x22
je 0x101e1bc
push eax
call dword [sym.imp.msvcrt.dll_iswspace]
pop ecx
test eax, eax
jne 0x100d897
cmp word [esi], 0
je 0x100d897
inc esi
inc esi
movzx eax, word [esi]
jmp 0x100d87e
mov eax, dword [ebp + 8]
inc dword [eax]
mov eax, esi
sub eax, ebx
sar eax, 1
cmp eax, edi
jb 0x100d831
mov eax, dword [ebp + 8]
mov esi, dword [eax]
test esi, esi
je 0x100d7dc
push 4
xor ecx, ecx
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or eax, ecx
push eax
call dword [0x104b7f4]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x100d7dc
and dword [ebp - 4], 0
mov esi, ebx
jmp 0x100d91b
movzx eax, word [esi]
push eax
call dword [sym.imp.msvcrt.dll_iswspace]
pop ecx
test eax, eax
jne 0x100d900
cmp word [esi], ax
je 0x100d90d
add dword [ebp - 8], 2
mov eax, dword [ebp - 8]
inc esi
sar eax, 1
inc esi
cmp eax, edi
jb 0x100d8dd
cmp word [esi], 0
je 0x100d90d
xor eax, eax
mov word [esi], ax
inc esi
inc esi
mov eax, esi
sub eax, ebx
sar eax, 1
cmp eax, edi
jae 0x100d9a0
cmp word [esi], 0
je 0x100d9a0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax]
jge 0x100d9a0
mov eax, esi
sub eax, ebx
mov ecx, eax
sar ecx, 1
cmp ecx, edi
jae 0x100d952
mov dword [ebp - 8], eax
movzx eax, word [esi]
test ax, ax
je 0x100d952
push eax
call dword [sym.imp.msvcrt.dll_iswspace]
pop ecx
test eax, eax
jne 0x101e1e1
mov eax, esi
sub eax, ebx
mov dword [ebp - 8], eax
sar dword [ebp - 8], 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 8], edi
je 0x100d9a0
movzx eax, word [esi]
test ax, ax
je 0x100d9a0
cmp ax, 0x22
je 0x101e1f9
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov dword [eax + ecx*4], esi
inc dword [ebp - 4]
cmp word [esi], 0x22
je 0x101e20a
cmp dword [ebp - 8], edi
jae 0x100d900
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x100d8dd
mov eax, dword [ebp - 0xc]
pop esi
pop edi
pop ebx
leave
ret 4
xor eax, eax
jmp 0x100d9a4
push 0x22
add esi, 2
push esi
call dword [sym.imp.msvcrt.dll_wcschr]
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x101e1d7
inc esi
inc esi
jmp 0x100d897
mov eax, dword [ebp + 8]
inc dword [eax]
jmp 0x100d8a6
add dword [ebp - 8], 2
mov eax, dword [ebp - 8]
inc esi
sar eax, 1
inc esi
cmp eax, edi
jae 0x100d952
jmp 0x100d93a
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
lea eax, [esi + 2]
mov dword [ecx + edx*4], eax
jmp 0x100d97f
push 0x22
add esi, 2
push esi
call dword [sym.imp.msvcrt.dll_wcschr]
jmp 0x100d7e3