Function at 0x1800150c0
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.1800145f0
nop
cmp qword [rsp + 0x170], 0
jne 0x18001512a
lea rcx, str.c:_xscp.txt
call fcn.180003d40
lea rcx, [0x1800339e0]
call fcn.180003e90
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.180019268
mov qword [rsp + 0x40], rax
test rax, rax
je 0x180015231
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.180014ba0
mov rdi, rax
jmp 0x180015234
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, [0x1800338d8]
mov qword [rsp + 0x20], rax
lea r9, [0x18002e4fb]
lea r8, [0x1800338d4]
mov ecx, dword [rcx + 8]
call fcn.180013720
mov rsi, rax
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x1800152cd
lea rcx, [rbx + 0x1e088]
mov r8d, 0xfff
mov rdx, qword [rax + 8]
call fcn.1800181c0
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.180001800
mov r11, qword [rsp + 0x178]
test r11, r11
je 0x1800152e5
mov dword [r11], ebp
lea rcx, [rsp + 0x50]
call fcn.180013e40
lea r11, [rsp + 0x40]
mov qword [rsp + 0x28], r11
mov dword [rsp + 0x20], 4
mov r9, rdi
lea r8, [0x180015090]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x180015323
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, [0x180015060]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x180015357
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
lea rcx, str.P2PPlatGuard_Start
call fcn.180003e90
xor eax, eax
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.180017810
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