Function at 0x140010628
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 0x1400106ae
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 0x140010703
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.140023bb4
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 0x14001098a
movzx eax, word [rbx]
mov edi, r15d
jmp 0x140010778
cmp ax, 0x20
je 0x14001074f
cmp ax, 9
jne 0x140010753
test edi, edi
je 0x14001077d
cmp ax, 0x22
jne 0x140010763
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 0x140010743
cmp word [rbx], 0x20
je 0x140010789
cmp word [rbx], 9
jne 0x14001078f
add rbx, 2
jmp 0x14001077d
mov r9d, r14d
mov r8, rbx
mov rdx, rsi
mov rcx, rsi
call fcn.140013514
test eax, eax
je 0x14001094e
call fcn.14000dd2c
mov ecx, eax
call fcn.140023b28
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, [0x14000fe10]
mov dword [rsp + 0x20], eax
xor r8d, r8d
call qword [sym.imp.USER32.dll_SetWinEventHook]
nop dword [rax + rax]
mov rsi, rax
jmp 0x1400108bf
cmp dword [rbp - 0x11], 0x50
jne 0x140010817
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 0x1400108bf
mov rcx, qword [0x1400365c0]
test rcx, rcx
je 0x14001085d
lea rdx, [rbp - 0x19]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
nop dword [rax + rax]
test eax, eax
jne 0x1400108bf
mov rcx, qword [0x140036130]
test rcx, rcx
je 0x14001087d
lea rdx, [rbp - 0x19]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
nop dword [rax + rax]
test eax, eax
jne 0x1400108bf
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 0x1400108bf
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 0x1400107f3
mov rcx, qword [0x1400360c8]
mov ebx, dword [0x1400363b8]
mov edi, dword [0x1400363ac]
call fcn.1400112a4
mov r9d, ebx
lea rcx, [0x140036140]
mov r8d, edi
mov edx, eax
call fcn.140023418
mov rcx, qword [0x1400365e0]
test rcx, rcx
je 0x140010935
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x14002a450]
mov qword [0x1400365e0], r15
call fcn.14000ce78
test rsi, rsi
je 0x14001094e
mov rcx, rsi
call qword [sym.imp.USER32.dll_UnhookWinEvent]
nop dword [rax + rax]
mov rcx, qword [0x140036170]
test rcx, rcx
je 0x140010966
call fcn.14002868c
mov qword [0x140036170], r15
mov rcx, qword [0x140036380]
test rcx, rcx
je 0x14001097e
call fcn.14002853c
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