Function at 0x180014c40
Capabilities:
Create thread
Resume thread
Terminate process

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x190
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rax, qword [0x1800393f8]
xor rax, rsp
mov qword [rsp + 0x180], rax
lea rcx, [rsp + 0x50]
call fcn.1800144e0
nop
cmp qword [rsp + 0x170], 0
jne 0x180014caa
lea rcx, str.c:_xscp.txt
call fcn.180003a10
lea rcx, [0x180033820]
call fcn.180003b60
or ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_ExitProcess]
lea rcx, [rsp + 0x88]
cmp qword [rsp + 0xa0], 0x10
cmovae rcx, qword [rsp + 0x88]
xor ebp, ebp
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [rbp + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
lea rcx, [rsp + 0xb0]
cmp qword [rsp + 0xc8], 0x10
cmovae rcx, qword [rsp + 0xb0]
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [rbp + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
lea ecx, [rbp + 0x18]
call fcn.1800192f8
mov qword [rsp + 0x40], rax
test rax, rax
je 0x180014db1
lea rcx, [rsp + 0xd8]
cmp qword [rsp + 0xf0], 0x10
cmovae rcx, qword [rsp + 0xd8]
lea r9, [rsp + 0xb0]
cmp qword [rsp + 0xc8], 0x10
cmovae r9, qword [rsp + 0xb0]
lea r8, [rsp + 0x88]
cmp qword [rsp + 0xa0], 0x10
cmovae r8, qword [rsp + 0x88]
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rdx, qword [rsp + 0x60]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.180014900
mov rdi, rax
jmp 0x180014db4
mov rdi, rbp
lea rdx, [rsp + 0x88]
cmp qword [rsp + 0xa0], 0x10
cmovae rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x178]
lea rax, [rcx + 0xc]
mov qword [rsp + 0x28], rax
lea rax, [0x180033760]
mov qword [rsp + 0x20], rax
lea r9, [0x18002e4fb]
lea r8, [0x18003375c]
mov ecx, dword [rcx + 8]
call fcn.1800134d0
mov rsi, rax
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x180014e4d
lea rcx, [rbx + 0x1e088]
mov r8d, 0xfff
mov rdx, qword [rax + 8]
call fcn.180018250
mov dword [rbx + 0x1e080], ebp
mov dword [rbx + 0x1e084], ebp
mov dword [rbx + 0x1e07c], ebp
mov byte [rbx + 0x1f088], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0x9c40
mov dword [rbx + 0x1e084], eax
mov rcx, rsi
call fcn.180001770
mov r11, qword [rsp + 0x178]
test r11, r11
je 0x180014e65
mov dword [r11], ebp
lea rcx, [rsp + 0x50]
call fcn.180013d30
lea r11, [rsp + 0x40]
mov qword [rsp + 0x28], r11
mov dword [rsp + 0x20], 4
mov r9, rdi
lea r8, [0x180014bc0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x180014ea3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
mov r9, rdi
lea r8, [0x180014b90]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x180014ed7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
lea rcx, str.P2PPlatGuard_Start
call fcn.180003b60
xor eax, eax
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.1800178a0
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret