Function at 0x1400106f8
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [0x1400343f0]
xor rax, rsp
mov qword [rbp + 0x27], rax
xorps xmm0, xmm0
mov r14d, r9d
movups xmmword [rbp - 0x19], xmm0
mov rsi, rcx
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetCommandLineW]
nop dword [rax + rax]
lea rcx, [0x1400360f8]
mov rbx, rax
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoCreateGuid]
nop dword [rax + rax]
mov rax, qword [0x140034200]
xor r15d, r15d
cmp qword [0x140034218], r15
mov qword [0x140036108], r15
movups xmm0, xmmword [rax - 0x10]
movdqu xmmword [rbp + 0x17], xmm0
je 0x14001077e
lea ecx, [r15 + 5]
int 0x29
xorps xmm0, xmm0
lea r9, [0x140034218]
lea r8, [0x1400341f8]
lea rdx, [0x140001260]
lea rcx, [rbp + 0x17]
movdqu xmmword [0x140034220], xmm0
call qword [sym.imp.api_ms_win_eventing_provider_l1_1_0.dll_EventRegister]
nop dword [rax + rax]
test eax, eax
jne 0x1400107d3
mov r8, qword [0x140034200]
lea edx, [rax + 2]
mov rcx, qword [0x140034218]
movzx r9d, word [r8]
call qword [sym.imp.api_ms_win_eventing_provider_l1_1_0.dll_EventSetInformation]
nop dword [rax + rax]
call fcn.140023d84
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapSetInformation]
nop dword [rax + rax]
mov edx, 2
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoInitializeEx]
nop dword [rax + rax]
test eax, eax
js 0x140010a5a
movzx eax, word [rbx]
mov edi, r15d
jmp 0x140010848
cmp ax, 0x20
je 0x14001081f
cmp ax, 9
jne 0x140010823
test edi, edi
je 0x14001084d
cmp ax, 0x22
jne 0x140010833
test edi, edi
mov eax, r15d
sete al
mov edi, eax
mov rcx, rbx
call qword [sym.imp.USER32.dll_CharNextW]
nop dword [rax + rax]
mov rbx, rax
movzx eax, word [rax]
test ax, ax
jne 0x140010813
cmp word [rbx], 0x20
je 0x140010859
cmp word [rbx], 9
jne 0x14001085f
add rbx, 2
jmp 0x14001084d
mov r9d, r14d
mov r8, rbx
mov rdx, rsi
mov rcx, rsi
call fcn.1400135d0
test eax, eax
je 0x140010a1e
call fcn.14000ddfc
mov ecx, eax
call fcn.140023cf8
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcessId]
nop dword [rax + rax]
mov ecx, 0x800b
mov dword [rsp + 0x30], r15d
mov edx, ecx
mov dword [rsp + 0x28], r15d
lea r9, [0x14000fee0]
mov dword [rsp + 0x20], eax
xor r8d, r8d
call qword [sym.imp.USER32.dll_SetWinEventHook]
nop dword [rax + rax]
mov rsi, rax
jmp 0x14001098f
cmp dword [rbp - 0x11], 0x50
jne 0x1400108e7
mov rcx, qword [0x140036138]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8001
call qword [sym.imp.USER32.dll_PostMessageW]
nop dword [rax + rax]
mov rdx, qword [0x1400355c0]
lea r8, [rbp - 0x19]
mov rcx, qword [0x140036138]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
nop dword [rax + rax]
test eax, eax
jne 0x14001098f
mov rcx, qword [0x1400365c0]
test rcx, rcx
je 0x14001092d
lea rdx, [rbp - 0x19]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
nop dword [rax + rax]
test eax, eax
jne 0x14001098f
mov rcx, qword [0x140036130]
test rcx, rcx
je 0x14001094d
lea rdx, [rbp - 0x19]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
nop dword [rax + rax]
test eax, eax
jne 0x14001098f
mov rdx, qword [0x1400355b8]
lea r8, [rbp - 0x19]
mov rcx, qword [0x140036138]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
nop dword [rax + rax]
test eax, eax
jne 0x14001098f
lea rcx, [rbp - 0x19]
call qword [sym.imp.USER32.dll_TranslateMessage]
nop dword [rax + rax]
lea rcx, [rbp - 0x19]
call qword [sym.imp.USER32.dll_DispatchMessageW]
nop dword [rax + rax]
xor r9d, r9d
lea rcx, [rbp - 0x19]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
nop dword [rax + rax]
test eax, eax
jne 0x1400108c3
mov rcx, qword [0x1400360c8]
mov ebx, dword [0x1400363b8]
mov edi, dword [0x1400363ac]
call fcn.140011374
mov r9d, ebx
lea rcx, [0x140036140]
mov r8d, edi
mov edx, eax
call fcn.1400235e8
mov rcx, qword [0x1400365e0]
test rcx, rcx
je 0x140010a05
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x14002a450]
mov qword [0x1400365e0], r15
call fcn.14000cf48
test rsi, rsi
je 0x140010a1e
mov rcx, rsi
call qword [sym.imp.USER32.dll_UnhookWinEvent]
nop dword [rax + rax]
mov rcx, qword [0x140036170]
test rcx, rcx
je 0x140010a36
call fcn.14002885c
mov qword [0x140036170], r15
mov rcx, qword [0x140036380]
test rcx, rcx
je 0x140010a4e
call fcn.14002870c
mov qword [0x140036380], r15
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoUninitialize]
nop dword [rax + rax]
mov rcx, qword [0x140034218]
mov qword [0x140034218], r15
mov dword [0x1400341f8], r15d
call qword [sym.imp.api_ms_win_eventing_provider_l1_1_0.dll_EventUnregister]
nop dword [rax + rax]
mov eax, dword [rbp - 9]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400019d0
mov rbx, qword [rsp + 0xc8]
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret