Function at 0x1000193b4
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rax, rsp
sub rsp, 0x28
xor r14d, r14d
xor r13d, r13d
test rdx, rdx
mov rdi, rdx
mov rsi, rcx
mov dword [rax + 0x58], 0
jne 0x1000193f1
lea eax, [rdx + 0x57]
jmp 0x1000196a3
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
test rax, rax
jne 0x100019406
mov ebx, 0x65b
jmp 0x100019693
lea rdx, [rsp + 0x80]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test rax, rax
mov r12, rax
jne 0x10001942c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x100019665
mov rax, qword [rax]
mov ebp, 0x7fffffff
mov esi, 2
test rax, rax
je 0x100019467
mov rcx, rbp
xor edx, edx
cmp word [rax], dx
je 0x100019451
add rax, rsi
sub rcx, 1
jne 0x100019443
test rcx, rcx
mov edi, 0x80070057
jne 0x10001945f
xor ebx, ebx
jmp 0x100019471
mov rbx, rbp
sub rbx, rcx
jmp 0x100019473
mov rbx, qword [rsp + 0x78]
mov edi, 0x80070057
mov edx, edi
test edx, edx
js 0x100019656
add rbx, 1
mov ecx, 0x40
lea rdx, [rbx + rbx]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
test rax, rax
mov r14, rax
jne 0x10001949e
lea ebx, [rax + 8]
jmp 0x10001965b
test rbx, rbx
mov rdx, qword [r12]
je 0x100019656
cmp rbx, rbp
ja 0x100019656
mov r15d, 0x7ffffffe
xor r8d, r8d
mov rcx, rax
mov r9, r15
sub r9, rbx
sub rdx, rax
lea rax, [r9 + rbx]
test rax, rax
je 0x1000194e7
movzx eax, word [rdx + rcx]
test ax, ax
je 0x1000194e7
mov word [rcx], ax
add rcx, rsi
sub rbx, 1
jne 0x1000194c9
test rbx, rbx
jne 0x1000194f5
sub rcx, rsi
mov r8d, 0x8007007a
test r8d, r8d
mov word [rcx], r13w
js 0x100019656
mov r9d, dword [rsp + 0x80]
cmp r9d, 1
jle 0x10001963a
xor ebp, ebp
lea r11d, [rbp + 1]
lea ebx, [rbp + 8]
cmp r9d, r11d
jle 0x100019578
mov rax, qword [rsp + 0x78]
lea r10, [r12 + 8]
mov rcx, qword [r10]
test rcx, rcx
je 0x100019559
mov eax, 0x7fffffff
xor r8d, r8d
mov rdx, rax
cmp word [rcx], r8w
je 0x10001954e
add rcx, rsi
sub rdx, 1
jne 0x10001953f
test rdx, rdx
jne 0x10001964e
xor eax, eax
mov r8d, edi
test r8d, r8d
js 0x100019656
add rax, 1
add r11d, 1
add r10, rbx
add rbp, rax
cmp r11d, r9d
jl 0x10001952c
lea rdx, [rbp + rbp]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
test rax, rax
mov r13, rax
je 0x10001965b
test rbp, rbp
mov r9, qword [r12 + 8]
je 0x100019656
cmp rbp, 0x7fffffff
ja 0x100019656
xor r8d, r8d
sub r15, rbp
mov rdx, rbp
sub r9, rax
mov rcx, rax
lea rax, [r15 + rdx]
test rax, rax
je 0x1000195dd
movzx eax, word [r9 + rcx]
test ax, ax
je 0x1000195dd
mov word [rcx], ax
add rcx, rsi
sub rdx, 1
jne 0x1000195be
test rdx, rdx
jne 0x1000195eb
sub rcx, rsi
mov r8d, 0x8007007a
test r8d, r8d
mov word [rcx], 0
js 0x100019656
cmp dword [rsp + 0x80], esi
jle 0x10001963a
lea rdi, [r12 + 0x10]
lea r8, [0x100002580]
mov rdx, rbp
mov rcx, r13
call fcn.10001fd58
test eax, eax
js 0x100019656
mov r8, qword [rdi]
mov rdx, rbp
mov rcx, r13
call fcn.10001fd58
test eax, eax
js 0x100019656
add esi, 1
add rdi, rbx
cmp esi, dword [rsp + 0x80]
jl 0x100019603
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
xor ebx, ebx
mov qword [rsi], r14
mov qword [rdi], r13
jmp 0x100019665
sub rax, rdx
jmp 0x10001955c
mov ebx, 0x65b
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
test r12, r12
je 0x100019673
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GlobalFree]
test ebx, ebx
je 0x1000196a1
test r14, r14
je 0x100019685
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
test r13, r13
je 0x100019693
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsi], 0
mov qword [rdi], 0
mov eax, ebx
add rsp, 0x28
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret