Function at 0x100d3d9
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 0x100d426
jmp 0x100d43e
xor eax, eax
jmp 0x100d583
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x100d4e0
jmp 0x100d580
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, 0x104a838
push ebx
call fcn.0100c8eb
test eax, eax
jl 0x101cd55
mov eax, dword [ebp + 8]
and dword [eax], 0
push esi
mov esi, ebx
cmp word [esi], 0
je 0x100d486
mov eax, esi
sub eax, ebx
mov ecx, eax
sar ecx, 1
cmp ecx, edi
jae 0x100d43e
mov dword [ebp - 8], eax
movzx eax, word [esi]
test ax, ax
je 0x100d43e
push eax
call dword [sym.imp.msvcrt.dll_iswspace]
pop ecx
test eax, eax
jne 0x100d3a8
mov eax, esi
sub eax, ebx
and eax, 0xfffffffe
cmp eax, 0xfa0
je 0x100d486
movzx eax, word [esi]
test ax, ax
je 0x100d486
cmp ax, 0x22
je 0x101cd5c
push eax
call dword [sym.imp.msvcrt.dll_iswspace]
pop ecx
test eax, eax
jne 0x100d477
cmp word [esi], 0
je 0x100d477
inc esi
inc esi
movzx eax, word [esi]
jmp 0x100d45e
mov eax, dword [ebp + 8]
inc dword [eax]
mov eax, esi
sub eax, ebx
sar eax, 1
cmp eax, edi
jb 0x100d411
mov eax, dword [ebp + 8]
mov esi, dword [eax]
test esi, esi
je 0x100d3bc
push 4
xor ecx, ecx
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or eax, ecx
push eax
call dword [0x104b7ec]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x100d3bc
and dword [ebp - 4], 0
mov esi, ebx
jmp 0x100d4fb
movzx eax, word [esi]
push eax
call dword [sym.imp.msvcrt.dll_iswspace]
pop ecx
test eax, eax
jne 0x100d4e0
cmp word [esi], ax
je 0x100d4ed
add dword [ebp - 8], 2
mov eax, dword [ebp - 8]
inc esi
sar eax, 1
inc esi
cmp eax, edi
jb 0x100d4bd
cmp word [esi], 0
je 0x100d4ed
xor eax, eax
mov word [esi], ax
inc esi
inc esi
mov eax, esi
sub eax, ebx
sar eax, 1
cmp eax, edi
jae 0x100d580
cmp word [esi], 0
je 0x100d580
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax]
jge 0x100d580
mov eax, esi
sub eax, ebx
mov ecx, eax
sar ecx, 1
cmp ecx, edi
jae 0x100d532
mov dword [ebp - 8], eax
movzx eax, word [esi]
test ax, ax
je 0x100d532
push eax
call dword [sym.imp.msvcrt.dll_iswspace]
pop ecx
test eax, eax
jne 0x101cd81
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 0x100d580
movzx eax, word [esi]
test ax, ax
je 0x100d580
cmp ax, 0x22
je 0x101cd99
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 0x101cdaa
cmp dword [ebp - 8], edi
jae 0x100d4e0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x100d4bd
mov eax, dword [ebp - 0xc]
pop esi
pop edi
pop ebx
leave
ret 4
xor eax, eax
jmp 0x100d584
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 0x101cd77
inc esi
inc esi
jmp 0x100d477
mov eax, dword [ebp + 8]
inc dword [eax]
jmp 0x100d486
add dword [ebp - 8], 2
mov eax, dword [ebp - 8]
inc esi
sar eax, 1
inc esi
cmp eax, edi
jae 0x100d532
jmp 0x100d51a
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
lea eax, [esi + 2]
mov dword [ecx + edx*4], eax
jmp 0x100d55f
push 0x22
add esi, 2
push esi
call dword [sym.imp.msvcrt.dll_wcschr]
jmp 0x100d3c3