Function at 0x14001ac80
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 [0x14004ba88]
xor rax, rsp
mov qword [rbp + 0x80], rax
xor esi, esi
mov dword [rsp + 0x30], 0x8000ffff
lea rax, [rsp + 0x40]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rax
lea rcx, [rbp - 0x38]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x68], rax
xor edx, edx
lea rax, [rsp + 0x78]
mov dword [rsp + 0x60], esi
mov qword [rsp + 0x70], rax
mov r8d, 0x90
lea rax, [0x14003d430]
mov dword [rsp + 0x78], esi
mov qword [rbp - 0x58], rax
mov edi, 0xa
mov byte [rsp + 0x7c], sil
mov byte [rbp - 0x48], sil
mov dword [rbp - 0x60], esi
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x40], 1
mov qword [rbp + 0x58], rsi
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xorps xmm0, xmm0
mov qword [rbp + 0x70], rsi
lea r12, [0x140039588]
movaps xmmword [rbp + 0x60], xmm0
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], r12
call fcn.14001c0cc
mov rcx, qword [0x14004bad0]
or r14, 0xffffffffffffffff
cmp rcx, r14
je 0x14001aedd
lea rdx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetExitCodeProcess]
nop dword [rax + rax]
mov rcx, qword [rbp + 0xa8]
lea r8, str.onecore_amcoreoctagon_broker_sourceliblpachost.cpp
test eax, eax
mov ebx, eax
lea rax, str.LPAC_terminated_with_non_zero_exit_code
sete dl
mov qword [rsp + 0x20], rax
movzx r9d, dl
mov edx, 0x186
call fcn.14001c838
mov r15d, 0x103
test ebx, ebx
je 0x14001ae03
cmp dword [rsp + 0x30], r15d
jne 0x14001ae86
mov rcx, qword [0x14004bac0]
cmp rcx, r14
je 0x14001add6
call qword [sym.imp.api_ms_win_core_kernel32_legacy_l1_1_0.dll_UnregisterWait]
nop dword [rax + rax]
mov qword [0x14004bac0], r14
mov rcx, qword [0x14004bad0]
xor edx, edx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
nop dword [rax + rax]
mov rcx, qword [0x14004bad0]
lea rdx, [rsp + 0x30]
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 0x14001ae86
test edi, edi
je 0x14001ae38
mov rcx, qword [0x14004bad0]
mov edx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
nop dword [rax + rax]
cmp eax, 0xffffffff
je 0x14001ae47
mov edx, dword [rsp + 0x30]
dec edi
cmp edx, r15d
je 0x14001ae0c
cmp edx, r15d
jne 0x14001ae86
mov ebx, 0x10000103
jmp 0x14001aee3
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 0x14001ae80
mov rcx, qword [rbp + 0xa8]
lea r8, str.onecore_amcoreoctagon_broker_sourceliblpachost.cpp
mov r9d, ebx
mov edx, 0x19a
call fcn.140005180
mov edx, dword [rsp + 0x30]
jmp 0x14001aee3
mov rcx, qword [0x14004bad0]
mov dword [rsp + 0x30], esi
mov byte [0x14004c844], sil
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, qword [0x14004bac8]
mov qword [0x14004bad0], r14
cmp rcx, r14
je 0x14001aedd
call qword [sym.imp.RPCRT4.dll_RpcBindingUnbind]
nop dword [rax + rax]
lea rcx, [0x14004bac8]
call qword [sym.imp.RPCRT4.dll_RpcBindingFree]
nop dword [rax + rax]
mov qword [0x14004bac8], r14
mov edx, dword [rsp + 0x30]
mov ebx, edx
lea rcx, [rsp + 0x40]
call fcn.14000c938
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], r12
call fcn.14000d8cc
lea rcx, [rsp + 0x40]
call fcn.14000d0dc
mov eax, ebx
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.140034260
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