Function at 0x180015920
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.180014610
nop
cmp qword [rsp + 0x170], 0
jne 0x18001598a
lea rcx, str.c:_xscp.txt
call fcn.180003d60
lea rcx, [0x180033a70]
call fcn.180003eb0
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.180019d88
mov qword [rsp + 0x40], rax
test rax, rax
je 0x180015a91
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.180015400
mov rdi, rax
jmp 0x180015a94
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, [0x180033938]
mov qword [rsp + 0x20], rax
lea r9, [0x18002e55b]
lea r8, [0x180033934]
mov ecx, dword [rcx + 8]
call fcn.180013740
mov rsi, rax
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x180015b2d
lea rcx, [rbx + 0x1e088]
mov r8d, 0xfff
mov rdx, qword [rax + 8]
call fcn.180018ce0
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, 0x1d4c0
mov dword [rbx + 0x1e084], eax
mov rcx, rsi
call fcn.1800012d0
mov r11, qword [rsp + 0x178]
test r11, r11
je 0x180015b45
mov dword [r11], ebp
lea rcx, [rsp + 0x50]
call fcn.180013e60
lea r11, [rsp + 0x40]
mov qword [rsp + 0x28], r11
mov dword [rsp + 0x20], 4
mov r9, rdi
lea r8, [0x1800158f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x180015b83
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, [0x1800158c0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x180015bb7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
lea rcx, str.P2PPlatGuard_Start
call fcn.180003eb0
xor eax, eax
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.180018330
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