Function at 0x14001c2a8
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 [0x14005ab08]
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, [0x14004a0c8]
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, [0x140045588]
mov qword [rsp + 0x40], r12
lea rcx, [rsp + 0x40]
call fcn.14001d988
mov rcx, qword [0x14005ab50]
or r14, 0xffffffffffffffff
cmp rcx, r14
je 0x14001c521
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.14001e050
mov r15d, 0x103
test ebx, ebx
je 0x14001c42b
cmp dword [rsp + 0x30], r15d
jne 0x14001c4ca
mov rcx, qword [0x14005ab40]
cmp rcx, r14
je 0x14001c3fe
call qword [sym.imp.api_ms_win_core_kernel32_legacy_l1_1_0.dll_UnregisterWait]
nop dword [rax + rax]
mov qword [0x14005ab40], r14
xor edx, edx
mov rcx, qword [0x14005ab50]
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 [0x14005ab50]
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 0x14001c4ca
test edi, edi
je 0x14001c47c
mov edx, 0x3e8
mov rcx, qword [0x14005ab50]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
nop dword [rax + rax]
cmp eax, 0xffffffff
je 0x14001c48b
lea rdx, [rsp + 0x30]
mov rcx, qword [0x14005ab50]
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 0x14001c438
cmp edx, r15d
jne 0x14001c4ca
mov ebx, 0x10000103
jmp 0x14001c527
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 0x14001c4c4
mov rcx, qword [rbp + 0xa8]
mov r9d, ebx
lea r8, str.onecore_amcoreoctagon_broker_sourceliblpachost.cpp
mov edx, 0x1ab
call fcn.140005a3c
mov edx, dword [rsp + 0x30]
jmp 0x14001c527
mov dword [rsp + 0x30], esi
mov byte [0x14005ba30], sil
mov rcx, qword [0x14005ab50]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
mov qword [0x14005ab50], r14
mov rcx, qword [0x14005ab48]
cmp rcx, r14
je 0x14001c521
call qword [sym.imp.RPCRT4.dll_RpcBindingUnbind]
nop dword [rax + rax]
lea rcx, [0x14005ab48]
call qword [sym.imp.RPCRT4.dll_RpcBindingFree]
nop dword [rax + rax]
mov qword [0x14005ab48], r14
mov edx, dword [rsp + 0x30]
mov ebx, edx
lea rcx, [rsp + 0x40]
call fcn.14000d6d8
mov qword [rsp + 0x40], r12
lea rcx, [rsp + 0x40]
call fcn.14000e7b0
lea rcx, [rsp + 0x40]
call fcn.14000df50
mov eax, ebx
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.140040640
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