Function at 0x14001b758
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0xa8]
sub rsp, 0x190
mov rax, qword [0x140059b08]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov dword [rsp + 0x30], 0x8000ffff
mov edi, 0xa
xor esi, esi
mov qword [rsp + 0x48], rsi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rsi
mov dword [rsp + 0x60], esi
lea rax, [rbp - 0x60]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], esi
mov byte [rsp + 0x7c], sil
mov byte [rbp - 0x48], sil
mov dword [rbp - 0x60], esi
lea rax, [0x140049050]
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x40], 1
mov qword [rbp + 0x60], rsi
xor edx, edx
mov r8d, 0x98
lea rcx, [rbp - 0x38]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xorps xmm0, xmm0
movups xmmword [rbp + 0x68], xmm0
mov qword [rbp + 0x78], rsi
lea r12, [0x140044588]
mov qword [rsp + 0x40], r12
lea rcx, [rsp + 0x40]
call fcn.14001ce38
mov rcx, qword [0x140059b50]
or r14, 0xffffffffffffffff
cmp rcx, r14
je 0x14001b9d1
lea rdx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetExitCodeProcess]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
sete dl
mov rcx, qword [rbp + 0xa8]
lea rax, str.LPAC_terminated_with_non_zero_exit_code
mov qword [rsp + 0x20], rax
movzx r9d, dl
lea r8, str.onecore_amcoreoctagon_broker_sourceliblpachost.cpp
mov edx, 0x197
call fcn.14001d4f0
mov r15d, 0x103
test ebx, ebx
je 0x14001b8db
cmp dword [rsp + 0x30], r15d
jne 0x14001b97a
mov rcx, qword [0x140059b40]
cmp rcx, r14
je 0x14001b8ae
call qword [sym.imp.api_ms_win_core_kernel32_legacy_l1_1_0.dll_UnregisterWait]
nop dword [rax + rax]
mov qword [0x140059b40], r14
xor edx, edx
mov rcx, qword [0x140059b50]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
nop dword [rax + rax]
lea rdx, [rsp + 0x30]
mov rcx, qword [0x140059b50]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetExitCodeProcess]
nop dword [rax + rax]
mov edx, dword [rsp + 0x30]
cmp edx, r15d
jne 0x14001b97a
test edi, edi
je 0x14001b92c
mov edx, 0x3e8
mov rcx, qword [0x140059b50]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
nop dword [rax + rax]
cmp eax, 0xffffffff
je 0x14001b93b
lea rdx, [rsp + 0x30]
mov rcx, qword [0x140059b50]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetExitCodeProcess]
nop dword [rax + rax]
dec edi
mov edx, dword [rsp + 0x30]
cmp edx, r15d
je 0x14001b8e8
cmp edx, r15d
jne 0x14001b97a
mov ebx, 0x10000103
jmp 0x14001b9d7
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jns 0x14001b974
mov rcx, qword [rbp + 0xa8]
mov r9d, ebx
lea r8, str.onecore_amcoreoctagon_broker_sourceliblpachost.cpp
mov edx, 0x1ab
call fcn.140005930
mov edx, dword [rsp + 0x30]
jmp 0x14001b9d7
mov dword [rsp + 0x30], esi
mov byte [0x14005aa08], sil
mov rcx, qword [0x140059b50]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
mov qword [0x140059b50], r14
mov rcx, qword [0x140059b48]
cmp rcx, r14
je 0x14001b9d1
call qword [sym.imp.RPCRT4.dll_RpcBindingUnbind]
nop dword [rax + rax]
lea rcx, [0x140059b48]
call qword [sym.imp.RPCRT4.dll_RpcBindingFree]
nop dword [rax + rax]
mov qword [0x140059b48], r14
mov edx, dword [rsp + 0x30]
mov ebx, edx
lea rcx, [rsp + 0x40]
call fcn.14000d008
mov qword [rsp + 0x40], r12
lea rcx, [rsp + 0x40]
call fcn.14000e0b0
lea rcx, [rsp + 0x40]
call fcn.14000d860
mov eax, ebx
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.14003f700
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret