Function at 0x140006180
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdi, rax
xor r14d, r14d
test rax, rax
je 0x1400061c2
cmp word [rdi], 0
je 0x1400061c2
mov eax, 1
nop
add r14d, 2
mov ecx, eax
inc eax
cmp word [rdi + rcx*2], 0
jne 0x1400061b0
mov r14d, r14d
lea r12, [r14*4]
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea r15, [0x1400c67c0]
nop dword [rax]
mov ecx, dword [r15 + rbx*4 + 0x10]
cmp ecx, eax
je 0x140006227
mov ecx, dword [r15 + rbx*4 + 0x14]
cmp ecx, eax
je 0x140006218
mov ecx, dword [r15 + rbx*4 + 0x18]
cmp ecx, eax
je 0x14000621d
mov ecx, dword [r15 + rbx*4 + 0x1c]
cmp ecx, eax
je 0x140006223
add rbx, 4
cmp rbx, 0x80
jne 0x1400061e0
mov eax, 0xffffffff
jmp 0x140006229
inc rbx
jmp 0x140006227
add rbx, 2
jmp 0x140006227
add rbx, 3
mov eax, ebx
shl rax, 4
mov rcx, qword [rax + r15 + 0x218]
mov rbx, qword [rax + r15 + 0x210]
add rbx, rcx
add r12, rcx
mov qword [rax + r15 + 0x218], r12
xor r12d, r12d
test r14, r14
je 0x1400062ef
mov rax, rdi
add rax, r14
xor r14d, r14d
jmp 0x140006285
mov byte [rbx + r14], cl
mov ecx, 1
add r14, rcx
add rdi, 2
cmp rdi, rax
jae 0x1400062f2
movzx ecx, word [rdi]
cmp cx, 0x7f
jbe 0x140006270
movzx edx, cx
cmp edx, 0x7ff
ja 0x1400062c0
mov edx, ecx
shr edx, 6
or dl, 0xc0
mov byte [rbx + r14], dl
and cl, 0x3f
or cl, 0x80
mov byte [rbx + r14 + 1], cl
mov ecx, 2
jmp 0x140006279
mov r8d, edx
shr r8d, 0xc
or r8b, 0xe0
mov byte [rbx + r14], r8b
shr edx, 6
and dl, 0x3f
or dl, 0x80
mov byte [rbx + r14 + 1], dl
and cl, 0x3f
or cl, 0x40
mov byte [rbx + r14 + 2], cl
mov ecx, 3
jmp 0x140006279
xor r14d, r14d
add r14, rbx
movabs rdi, 0x100002600
mov rax, rbx
cmp rax, r14
jb 0x140006325
jmp 0x14000633c
inc r12d
cmp rax, r14
jae 0x140006389
nop word cs:[rax + rax]
cmp rax, r14
jae 0x14000633c
movzx ecx, byte [rax]
cmp rcx, 0x20
ja 0x14000633c
bt rdi, rcx
jae 0x14000633c
inc rax
cmp rax, r14
jb 0x140006325
cmp rax, r14
jae 0x140006389
cmp byte [rax], 0x22
jne 0x140006373
inc rax
mov rcx, rax
nop dword [rax]
mov rax, rcx
cmp rcx, r14
jae 0x140006373
lea rcx, [rax + 1]
cmp byte [rax], 0x22
jne 0x140006350
jmp 0x140006373
inc rax
cmp rax, r14
jae 0x140006309
movzx ecx, byte [rax]
cmp rcx, 0x20
ja 0x140006370
bt rdi, rcx
jae 0x140006370
jmp 0x140006309
mov r13d, r12d
shl r13, 4
xor ebp, ebp
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
nop dword [rax + rax]
mov ecx, dword [r15 + rbp*4 + 0x10]
cmp ecx, eax
je 0x1400063e7
mov ecx, dword [r15 + rbp*4 + 0x14]
cmp ecx, eax
je 0x1400063d8
mov ecx, dword [r15 + rbp*4 + 0x18]
cmp ecx, eax
je 0x1400063dd
mov ecx, dword [r15 + rbp*4 + 0x1c]
cmp ecx, eax
je 0x1400063e3
add rbp, 4
cmp rbp, 0x80
jne 0x1400063a0
mov ecx, 0xffffffff
jmp 0x1400063e9
inc rbp
jmp 0x1400063e7
add rbp, 2
jmp 0x1400063e7
add rbp, 3
mov ecx, ebp
shl rcx, 4
mov rdx, qword [rcx + r15 + 0x218]
mov rax, qword [rcx + r15 + 0x210]
add rax, rdx
add r13, rdx
mov qword [rcx + r15 + 0x218], r13
mov qword [rsi], rax
mov qword [rsi + 8], 0x10
test r12d, r12d
je 0x1400064c1
xor ecx, ecx
cmp rbx, r14
jb 0x140006445
jmp 0x14000645c
mov r9, r8
sub r9, rbx
mov qword [rax + rdx + 8], r9
mov rbx, r8
cmp r8, r14
jae 0x1400064c1
nop
cmp rbx, r14
jae 0x14000645c
movzx edx, byte [rbx]
cmp rdx, 0x20
ja 0x14000645c
bt rdi, rdx
jae 0x14000645c
inc rbx
cmp rbx, r14
jb 0x140006445
cmp rbx, r14
jae 0x1400064c1
movsxd rdx, ecx
shl rdx, 4
inc rcx
mov dword [rsi + 0xc], ecx
mov qword [rax + rdx], rbx
cmp byte [rbx], 0x22
mov r8, rbx
jne 0x1400064a3
lea r9, [rbx + 1]
nop
mov r8, r9
cmp r9, r14
jae 0x1400064a3
lea r9, [r8 + 1]
cmp byte [r8], 0x22
jne 0x140006480
jmp 0x1400064a3
inc r8
cmp r8, r14
jae 0x140006428
movzx r9d, byte [r8]
cmp r9, 0x20
ja 0x1400064a0
bt rdi, r9
jae 0x1400064a0
jmp 0x140006428
mov rax, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret