Function at 0x1401131a0
Capabilities:
Create thread
Get windows directory from kuser_shared_data
Parse pe header

Disassembly:
push rbx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xd8
mov rax, qword [0x140237008]
xor rax, rsp
mov qword [rsp + 0xc8], rax
xor r13d, r13d
mov r12, r8
mov r15, rdx
mov qword [rsp + 0x50], r13
lea r8, [rsp + 0xc0]
mov qword [rsp + 0x20], r13
mov r14, rcx
xor bl, bl
lea r9d, [r13 + 8]
mov edi, r13d
lea edx, [r13 + 0x1a]
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x140113204
cmp qword [rsp + 0xc0], r13
setne bl
cmp dword [0x140237d34], 0x3e
jae 0x1401133e5
lea r8, [rsp + 0x60]
mov dword [rsp + 0x60], 0xc0000135
lea rdx, [0x140115a00]
mov qword [rsp + 0x68], r15
mov rcx, r14
mov dword [rsp + 0x70], 1
call fcn.140115540
mov ecx, dword [rsp + 0x60]
test eax, eax
cmovs ecx, eax
test bl, bl
je 0x1401133d3
cmp ecx, 0xc0000135
jne 0x1401133d3
mov dword ds:[rsp + 0x78], ecx
lea r8, [rsp + 0x78]
mov rcx, r14
mov qword [rsp + 0x80], r15
lea rdx, [0x140116280]
mov dword [rsp + 0x88], 1
call fcn.140115a60
mov ecx, eax
test eax, eax
js 0x1401133d7
mov ecx, dword [rsp + 0x78]
test ecx, ecx
js 0x1401133d7
mov rbx, qword [0x140244928]
test rbx, rbx
jne 0x14011344e
mov qword [rsp + 0x128], rbp
mov qword [rsp + 0xd0], rsi
mov rsi, qword [0x1402447d8]
test rsi, rsi
je 0x1401132d0
mov rbp, qword [0x1402447d0]
jmp 0x140113301
mov esi, 0x7ffe0030
mov ecx, esi
call sym.ProcessHacker.exe_PhCountStringZ
add rax, rax
cmp word [rax + 0x7ffe002e], 0x5c
lea rbp, [rax - 2]
cmovne rbp, rax
mov qword [0x1402447d0], rbp
lock or dword [rsp], edi
mov qword [0x1402447d8], rsi
mov rdx, qword [0x1402418e8]
lea rbx, [rbp + 0x26]
lea rcx, [rbx + 0x12]
call sym.ProcessHacker.exe_PhCreateObject
mov r8, rbp
mov rdx, rsi
mov rdi, rax
lea rcx, [rax + 0x10]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov word [rcx + rbx], r13w
mov rcx, qword [rax + 8]
call fcn.140188690
mov rcx, qword [rdi + 8]
lea r8, [0x1401f0b78]
movups xmm0, xmmword [str.SysWow64_ntdll.dll]
mov qword [rsp + 0x28], r13
xor r9d, r9d
movups xmmword [rcx + rbp], xmm0
movups xmm1, xmmword [0x1401f0b98]
movups xmmword [rcx + rbp + 0x10], xmm1
mov eax, dword [0x1401f0ba8]
mov dword [rcx + rbp + 0x20], eax
movzx eax, word [0x1401f0bac]
mov word [rcx + rbp + 0x24], ax
lea rax, [0x140244928]
mov rdx, qword [rdi + 8]
mov rcx, r14
mov qword [rsp + 0x20], rax
call sym.ProcessHacker.exe_PhGetProcedureAddressRemote
mov ebx, eax
mov ecx, 0xffffffff
lock xadd dword [rdi - 8], ecx
mov rsi, qword [rsp + 0xd0]
mov rbp, qword [rsp + 0x128]
cmp ecx, 1
jne 0x1401133b9
lea rcx, [rdi - 0x10]
call fcn.1400fbcc0
test ebx, ebx
jns 0x1401133c5
lfence
jmp 0x14011350d
mov rbx, qword [0x140244928]
mov rdi, qword [rsp + 0x50]
jmp 0x14011344e
test ecx, ecx
jns 0x1401133e5
lfence
mov eax, ecx
jmp 0x14011350f
lea rcx, [0x1401db740]
call fcn.1400f9d00
mov rcx, rax
test rax, rax
je 0x14011344b
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14011344b
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x14011344b
cmp dword [rdx + rcx], 0x4550
jne 0x14011344b
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14011344b
cmp dword [rdx + 4], edi
je 0x14011344b
lea r8, [rcx + rax]
mov word [rsp + 0x20], r13w
lea r9, [0x1401f0b78]
call fcn.1400fa1a0
mov rbx, rax
jmp 0x14011344e
mov rbx, r13
cmp dword [0x140237d34], 0x3e
jb 0x140113476
lea rdx, ds:[rsp + 0x50]
mov rcx, r14
call fcn.14011e1a0
test eax, eax
jns 0x140113471
lfence
jmp 0x14011350f
mov rdi, qword [rsp + 0x50]
mov qword [rsp + 0x48], r13
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], rax
xor r9d, r9d
mov qword [rsp + 0x38], r15
xor r8d, r8d
mov qword [rsp + 0x30], rbx
xor edx, edx
mov qword [rsp + 0x28], r13
mov rcx, r14
mov qword [rsp + 0x20], r13
call qword [sym.imp.ntdll.dll_RtlCreateUserThread]
test eax, eax
js 0x140113469
mov rcx, qword [rsp + 0x58]
mov r8, r12
xor edx, edx
call qword [sym.imp.ntdll.dll_NtWaitForSingleObject]
mov ebx, eax
test eax, eax
jne 0x1401134f2
mov rcx, qword ds:[rsp + 0x58]
lea r9d, [rax + 0x30]
lea r8, [rsp + 0x90]
mov qword [rsp + 0x20], r13
xor edx, edx
call qword [sym.imp.ntdll.dll_NtQueryInformationThread]
test eax, eax
mov ebx, eax
cmovns ebx, dword [rsp + 0x90]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax]
test rdi, rdi
je 0x14011350d
mov rcx, rdi
call fcn.14011e2e0
mov eax, ebx
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.1401848a0
add rsp, 0xd8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rbx
ret