Function at 0x140005810
Capabilities:
Inject thread

Disassembly:
jmp 0x1401b2540
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x1c0
lea rdi, [rsp + 0x50]
mov ecx, 0x5c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1d0]
mov byte [rsp + 0x64], 0
mov byte [rsp + 0x74], 0
mov qword [rsp + 0x108], 0
mov qword [rsp + 0x168], 0
lea rdx, [rsp + 0x64]
mov rcx, qword [rsp + 0x1d0]
call fcn.14000b280
movzx eax, byte [rsp + 0x64]
test eax, eax
je 0x1401b2618
lea r8, [rsp + 0x88]
xor edx, edx
mov rcx, qword [rsp + 0x1d8]
call sym.ProcessHacker.exe_PhLoadMappedImage
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1401b25d8
mov eax, dword [rsp + 0x50]
jmp 0x1401b28b0
movzx eax, word [rsp + 0xb8]
cmp eax, 0x10b
jne 0x1401b25f4
mov dword [rsp + 0x1b0], 1
jmp 0x1401b25ff
mov dword [rsp + 0x1b0], 0
movzx eax, byte [rsp + 0x1b0]
mov byte [rsp + 0x74], al
lea rcx, [rsp + 0x88]
call sym.ProcessHacker.exe_PhUnloadMappedImage
movzx eax, byte [rsp + 0x74]
test eax, eax
jne 0x1401b2644
xor r8d, r8d
lea rdx, str.LoadLibraryW
lea rcx, str.kernel32.dll
call fcn.14001b6f0
mov qword [rsp + 0xc8], rax
jmp 0x1401b26f3
mov rax, qword [0x1405e4700]
mov qword [rsp + 0xc8], rax
cmp qword [rsp + 0xc8], 0
jne 0x1401b26f3
lea rcx, [rsp + 0x188]
call sym.ProcessHacker.exe_PhGetSystemRoot
lea rdx, str.SysWow64kernel32.dll
lea rcx, [rsp + 0x188]
call fcn.1400098f0
mov qword [rsp + 0x1a8], rax
mov qword [rsp + 0x28], 0
lea rax, [0x1405e4700]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, str.LoadLibraryW
mov rax, qword [rsp + 0x1a8]
mov rdx, qword [rax + 8]
mov rcx, qword [rsp + 0x1d0]
call sym.ProcessHacker.exe_PhGetProcedureAddressRemote
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x1a8]
call sym.ProcessHacker.exe_PhDereferenceObject
cmp dword [rsp + 0x50], 0
jge 0x1401b26e4
mov eax, dword [rsp + 0x50]
jmp 0x1401b28b0
mov rax, qword [0x1405e4700]
mov qword [rsp + 0xc8], rax
mov rdx, qword [rsp + 0x1d8]
lea rcx, [rsp + 0xd8]
call fcn.140013bf0
mov rax, qword [rsp + 0xd8]
add rax, 2
mov qword [rsp + 0x128], rax
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0x1000
lea r9, [rsp + 0x128]
xor r8d, r8d
lea rdx, [rsp + 0x108]
mov rcx, qword [rsp + 0x1d0]
call qword [sym.imp.ntdll.dll_NtAllocateVirtualMemory]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1401b2761
mov eax, dword [rsp + 0x50]
jmp 0x1401b28b0
mov rax, qword [rsp + 0xd8]
add rax, 2
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0xe0]
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x1d0]
call qword [sym.imp.ntdll.dll_NtWriteVirtualMemory]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1401b27a7
jmp 0x1401b287c
cmp dword [0x1405d62d4], 0x3e
jb 0x1401b27d5
lea rdx, [rsp + 0x168]
mov rcx, qword [rsp + 0x1d0]
call fcn.14001b170
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1401b27d5
jmp 0x1401b287c
mov qword [rsp + 0x48], 0
lea rax, [rsp + 0x148]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x1d0]
call qword [sym.imp.ntdll.dll_RtlCreateUserThread]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1401b283a
jmp 0x1401b287c
mov r8, qword [rsp + 0x1e0]
xor edx, edx
mov rcx, qword [rsp + 0x148]
call qword [sym.imp.ntdll.dll_NtWaitForSingleObject]
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x148]
call qword [sym.imp.ntdll.dll_NtClose]
cmp qword [rsp + 0x168], 0
je 0x1401b287c
mov rcx, qword [rsp + 0x168]
call fcn.140011b80
mov qword [rsp + 0x128], 0
mov r9d, 0x8000
lea r8, [rsp + 0x128]
lea rdx, [rsp + 0x108]
mov rcx, qword [rsp + 0x1d0]
call qword [sym.imp.ntdll.dll_NtFreeVirtualMemory]
mov eax, dword [rsp + 0x50]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1404ef2f0]
call fcn.140015750
mov rax, rdi
add rsp, 0x1c0
pop rdi
ret