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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
mov rax, qword [0x140237008]
xor rax, rsp
mov qword [rbp + 0x1f], rax
xor r14d, r14d
mov qword [rbp - 0x29], r8
mov r15, r8
mov qword [rbp - 0x59], r14
mov r12, rdx
mov qword [rbp - 0x41], r14
lea r8, [rbp + 0x17]
mov qword [rsp + 0x20], r14
lea r9d, [r14 + 8]
mov rsi, rcx
lea edx, [r14 + 0x1a]
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x14011311a
nop dword [rax]
cmp qword [rbp + 0x17], r14
je 0x14011311a
lea r9, [rbp - 0x39]
xor edx, edx
lea r8, [rbp - 0x31]
mov rcx, r12
call fcn.140169860
mov ebx, eax
test eax, eax
js 0x140112e89
mov r8, qword [rbp - 0x39]
lea rcx, [rbp - 0x21]
mov rdx, qword [rbp - 0x31]
call sym.ProcessHacker.exe_PhInitializeMappedImage
mov rdx, qword [rbp - 0x19]
mov ebx, eax
test eax, eax
jns 0x140112e93
lea rcx, [r14 - 1]
call qword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
lfence
mov eax, ebx
jmp 0x1401130f4
mov r14, 0xffffffffffffffff
mov rcx, r14
call qword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
mov eax, 0x10b
cmp word [rbp + 0xf], ax
jne 0x140113117
mov rbx, qword [0x140244920]
nop dword [rax]
test rbx, rbx
jne 0x140112fe3
mov r15, qword [0x1402447d8]
mov qword [rsp + 0x128], r13
test r15, r15
je 0x140112ee6
mov r13, qword [0x1402447d0]
jmp 0x140112f1a
mov r15d, 0x7ffe0030
mov ecx, r15d
call sym.ProcessHacker.exe_PhCountStringZ
add rax, rax
cmp word [rax + 0x7ffe002e], 0x5c
lea r13, [rax - 2]
cmovne r13, rax
mov qword [0x1402447d0], r13
lock or dword [rsp], 0
mov qword [0x1402447d8], r15
mov rdx, qword [0x1402418e8]
lea rbx, [r13 + 0x2c]
lea rcx, [rbx + 0x12]
call sym.ProcessHacker.exe_PhCreateObject
mov rdi, rax
mov r8, r13
mov rdx, r15
lea rcx, [rax + 0x10]
mov qword [rax], rbx
mov qword [rax + 8], rcx
xor eax, eax
mov word [rcx + rbx], ax
mov rcx, qword [rdi + 8]
call fcn.140188690
mov rcx, qword [rdi + 8]
lea r8, str.LoadLibraryW
movups xmm0, xmmword [str.SysWow64kernel32.dll]
xor r9d, r9d
movups xmmword [rcx + r13], xmm0
movups xmm1, xmmword [0x1401f0b58]
movups xmmword [rcx + r13 + 0x10], xmm1
movsd xmm0, qword [0x1401f0b68]
movsd qword [rcx + r13 + 0x20], xmm0
mov eax, dword [0x1401f0b70]
mov dword [rcx + r13 + 0x28], eax
xor eax, eax
mov rdx, qword [rdi + 8]
mov rcx, rsi
mov qword [rsp + 0x28], rax
lea rax, [0x140244920]
mov qword [rsp + 0x20], rax
call sym.ProcessHacker.exe_PhGetProcedureAddressRemote
mov ebx, eax
lea rcx, [rdi - 0x10]
lock xadd dword [rcx + 8], r14d
mov r13, qword [rsp + 0x128]
cmp r14d, 1
jne 0x140112fd0
call fcn.1400fbcc0
test ebx, ebx
js 0x140112e89
mov rbx, qword [0x140244920]
mov r15, qword [rbp - 0x29]
xor r14d, r14d
mov rcx, r12
call sym.ProcessHacker.exe_PhCountStringZ
mov dword [rsp + 0x28], 4
lea r9, [rbp - 0x51]
xor r8d, r8d
mov dword [rsp + 0x20], 0x1000
lea rdx, [rbp - 0x59]
mov rcx, rsi
lea rdi, [rax*2 + 2]
mov qword [rbp - 0x51], rdi
call qword [sym.imp.ntdll.dll_NtAllocateVirtualMemory]
lfence
test eax, eax
js 0x1401130f4
mov rdx, qword ds:[rbp - 0x59]
mov r9, rdi
mov r8, r12
mov qword [rsp + 0x20], r14
mov rcx, rsi
call qword [sym.imp.ntdll.dll_NtWriteVirtualMemory]
mov edi, eax
test eax, eax
js 0x1401130d7
cmp dword [0x140237d34], 0x3e
jb 0x14011306e
lfence
lea rdx, [rbp - 0x41]
mov rcx, rsi
call fcn.14011e1a0
mov edi, eax
test eax, eax
js 0x1401130d7
lfence
mov qword [rsp + 0x48], r14
lea rax, [rbp - 0x49]
mov qword [rsp + 0x40], rax
xor r9d, r9d
mov rax, qword [rbp - 0x59]
xor r8d, r8d
mov qword [rsp + 0x38], rax
xor edx, edx
mov qword [rsp + 0x30], rbx
mov rcx, rsi
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
call qword [sym.imp.ntdll.dll_RtlCreateUserThread]
mov edi, eax
test eax, eax
js 0x1401130d7
mov rcx, qword [rbp - 0x49]
mov r8, r15
xor edx, edx
call qword [sym.imp.ntdll.dll_NtWaitForSingleObject]
mov rcx, qword [rbp - 0x49]
mov edi, eax
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rbp - 0x41]
test rcx, rcx
je 0x1401130d7
call fcn.14011e2e0
mov r9d, 0x8000
mov qword [rbp - 0x51], r14
lea r8, [rbp - 0x51]
mov rcx, rsi
lea rdx, [rbp - 0x59]
call qword [sym.imp.ntdll.dll_NtFreeVirtualMemory]
mov eax, edi
mov rcx, qword ds:[rbp + 0x1f]
xor rcx, rsp
call fcn.1401848a0
add rsp, 0xd0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
xor r14d, r14d
lea rcx, str.kernel32.dll
call fcn.1400f9d00
mov rcx, rax
test rax, rax
jne 0x140113136
mov rbx, r14
jmp 0x140112fe6
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14011312e
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x14011312e
cmp dword [rdx + rcx], 0x4550
jne 0x14011312e
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14011312e
cmp dword [rdx + 4], 0
je 0x14011312e
lea r8, [rcx + rax]
mov word [rsp + 0x20], r14w
lea r9, str.LoadLibraryW
call fcn.1400fa1a0
mov rbx, rax
jmp 0x140112fe6