Function at 0x140029a60
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov byte [rsp + 0x55], 0
mov byte [rsp + 0x54], 0
lea rdx, [rsp + 0x55]
mov rcx, qword [rsp + 0xb0]
call fcn.140027940
cmp dword [sym.ProcessHacker.exe_WindowsVersion], 0x3e
jae 0x140029b08
mov r8d, 1
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xb0]
call sym.ProcessHacker.exe_PhSetProcessModuleLoadCount
mov dword [rsp + 0x50], eax
movzx eax, byte [rsp + 0x55]
test eax, eax
je 0x140029af8
cmp dword [rsp + 0x50], 0xc0000135
jne 0x140029af8
mov r8d, 1
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xb0]
call sym.ProcessHacker.exe_PhSetProcessModuleLoadCount32
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jl 0x140029af8
mov byte [rsp + 0x54], 1
cmp dword [rsp + 0x50], 0
jge 0x140029b08
mov eax, dword [rsp + 0x50]
jmp 0x140029ccb
movzx eax, byte [rsp + 0x54]
test eax, eax
jne 0x140029b2e
lea rdx, [0x140110f10]
lea rcx, [0x140110f20]
call fcn.140015cc0
mov qword [rsp + 0x58], rax
jmp 0x140029bc0
mov rax, qword [0x14013bac0]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x140029bc0
mov eax, 0x30
add rax, 0x7ffe0000
lea rdx, str.SysWow64_ntdll.dll
mov rcx, rax
call sym.ProcessHacker.exe_PhConcatStrings2
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x28], 0
lea rax, [0x14013bac0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [0x140110f10]
mov rax, qword [rsp + 0x68]
mov rdx, qword [rax + 8]
mov rcx, qword [rsp + 0xb0]
call sym.ProcessHacker.exe_PhGetProcedureAddressRemote
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x68]
call sym.ProcessHacker.exe_PhDereferenceObject
cmp dword [rsp + 0x50], 0
jge 0x140029bb4
mov eax, dword [rsp + 0x50]
jmp 0x140029ccb
mov rax, qword [0x14013bac0]
mov qword [rsp + 0x58], rax
cmp dword [sym.ProcessHacker.exe_WindowsVersion], 0x3c
jb 0x140029c21
mov qword [rsp + 0x48], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x58]
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 + 0xb0]
call qword [sym.imp.ntdll.dll_RtlCreateUserThread]
mov dword [rsp + 0x50], eax
jmp 0x140029c6d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x58]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x140029c6d
call fcn.140021c20
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x140029c7a
mov eax, dword [rsp + 0x50]
jmp 0x140029ccb
mov r8, qword [rsp + 0xc0]
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntdll.dll_NtWaitForSingleObject]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x140029cbc
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
call fcn.14001dd40
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jl 0x140029cbc
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, dword [rsp + 0x50]
add rsp, 0xa8
ret