Function at 0x106a364
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r13
sub rsp, 0x30
mov rax, qword [0x0109d1a0]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rbx, rcx
xor edi, edi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rsi, rax
mov eax, dword [0x01066b48]
lea rcx, [rsp + 0x20]
mov dword [rcx], eax
movzx eax, word [0x01066b4c]
mov dword [rbx], edi
mov word [rcx + 4], ax
lea ebp, [rdi + 2]
cmp word [rsi], di
je 0x106a3db
cmp word [rsp + 0x20], di
lea rcx, [rsp + 0x20]
je 0x106a3d1
movzx eax, word [rcx]
add rcx, rbp
cmp word [rsi], ax
je 0x106a3d6
cmp word [rcx], di
jne 0x106a3c1
add rsi, rbp
jmp 0x106a3b0
add rsi, rbp
jmp 0x106a3de
mov rsi, rdi
cmp rsi, rdi
je 0x106a694
mov r13d, 4
lea rdx, [0x01066a00]
mov r8, r13
mov rcx, rsi
call fcn.0107e6e4
cmp eax, edi
jne 0x106a40b
or dword [rbx], 1
jmp 0x106a4d7
lea rdx, [0x01066a10]
mov r8d, 6
mov rcx, rsi
call fcn.0107e6e4
cmp eax, edi
jne 0x106a42b
or dword [rbx], ebp
jmp 0x106a4d7
lea rdx, [0x01066a20]
mov r8, rbp
mov rcx, rsi
call fcn.0107e6e4
cmp eax, edi
jne 0x106a44a
bts dword [rbx], 0x18
jmp 0x106a4d7
lea rdx, [0x01066a28]
mov r8, r13
mov rcx, rsi
call fcn.0107e6e4
cmp eax, edi
jne 0x106a466
bts dword [rbx], 0x1c
jmp 0x106a4d7
lea rdx, [0x01066a38]
mov r8d, 5
mov rcx, rsi
call fcn.0107e6e4
cmp eax, edi
jne 0x106a485
bts dword [rbx], 0x1d
jmp 0x106a4d7
lea rdx, [0x01066a44]
mov r8, rbp
mov rcx, rsi
call fcn.0107e6e4
cmp eax, edi
jne 0x106a4a0
or dword [rbx], 0x10
jmp 0x106a4d7
lea rdx, [0x01066a50]
mov r8d, 3
mov rcx, rsi
call fcn.0107e6e4
cmp eax, edi
jne 0x106a4be
or dword [rbx], 0x20
jmp 0x106a4d7
lea rdx, [0x01066a58]
mov r8, r13
mov rcx, rsi
call fcn.0107e6e4
cmp eax, edi
jne 0x106a513
or dword [rbx], 0x40
cmp word [rsi], di
je 0x106a502
cmp word [rsp + 0x20], di
lea rcx, [rsp + 0x20]
je 0x106a4f8
movzx eax, word [rcx]
add rcx, rbp
cmp word [rsi], ax
je 0x106a4fd
cmp word [rcx], di
jne 0x106a4e8
add rsi, rbp
jmp 0x106a4d7
add rsi, rbp
jmp 0x106a505
mov rsi, rdi
cmp rsi, rdi
jne 0x106a3ed
jmp 0x106a694
mov ebp, 7
lea rdx, [0x01066a68]
mov rcx, rsi
mov r8, rbp
call fcn.0107e6e4
cmp eax, edi
jne 0x106a53c
bts dword [rbx], 7
call fcn.0106b17c
jmp 0x106a694
lea rdx, [0x01066a78]
mov r8d, 6
mov rcx, rsi
call fcn.0107e6e4
cmp eax, edi
jne 0x106a563
bts dword [rbx], 8
call fcn.0106b27c
jmp 0x106a694
lea rdx, [0x01066a88]
mov r8d, 0xc
mov rcx, rsi
call fcn.0107e6e4
cmp eax, edi
jne 0x106a584
or dword [rbx], r13d
jmp 0x106a694
lea rdx, [0x01066aa8]
mov r8, rbp
mov rcx, rsi
call fcn.0107e6e4
cmp eax, edi
jne 0x106a5a2
or dword [rbx], 8
jmp 0x106a694
lea rdx, [0x01066ab8]
mov r8d, 9
mov rcx, rsi
call fcn.0107e6e4
cmp eax, edi
jne 0x106a5c4
bts dword [rbx], 9
jmp 0x106a694
lea rdx, [0x01066ad0]
mov r8d, 0xa
mov rcx, rsi
call fcn.0107e6e4
cmp eax, edi
jne 0x106a5e6
bts dword [rbx], 0xa
jmp 0x106a694
mov ebp, 0xd
lea rdx, [0x01066ae8]
mov rcx, rsi
mov r8, rbp
call fcn.0107e6e4
cmp eax, edi
jne 0x106a60a
bts dword [rbx], 0xb
jmp 0x106a694
lea rdx, [0x01066b08]
mov r8d, 8
mov rcx, rsi
call fcn.0107e6e4
cmp eax, edi
jne 0x106a629
bts dword [rbx], 0xc
jmp 0x106a694
lea rdx, [0x01066b20]
mov r8, rbp
mov rcx, rsi
call fcn.0107e6e4
cmp eax, edi
jne 0x106a645
bts dword [rbx], 0xd
jmp 0x106a694
lea rdx, [0x01066b3c]
mov r8d, 1
mov rcx, rsi
call fcn.0107e6e4
cmp eax, edi
jne 0x106a66a
mov dword [0x010aafbc], 1
jmp 0x106a694
lea rdx, [0x01066b40]
mov r8d, 3
mov rcx, rsi
call fcn.0107e6e4
cmp eax, edi
jne 0x106a68f
mov dword [0x010aafd0], 1
jmp 0x106a694
mov edi, 0x800700a0
mov eax, edi
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.0107dbd0
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r13
pop rdi
pop rsi
ret