Function at 0x14000b710
Capabilities:
Access pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0xb8], rax
mov dword [rsp + 0xa8], 0
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.ntoskrnl.exe_RtlImageNtHeader]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x14000b75e
jmp 0x14000ba5f
lea r9, [rsp + 0xa8]
mov r8w, 9
mov dl, 1
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.ntoskrnl.exe_RtlImageDirectoryEntryToData]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x14000b78d
jmp 0x14000ba5f
mov rax, qword [rsp + 0xd0]
movzx eax, byte [rax + 0x58]
test eax, eax
jne 0x14000b922
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x14000b7c0
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
jmp 0x14000b7cc
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x14000b922
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0xb0], 0x1000
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0x1000
lea r9, [rsp + 0xb0]
xor r8d, r8d
lea rdx, [rsp + 0xa0]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwAllocateVirtualMemory]
test eax, eax
jl 0x14000b922
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.ntoskrnl.exe_PsGetThreadTeb]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rax]
call qword [sym.imp.ntoskrnl.exe_PsGetProcessWow64Process]
test rax, rax
je 0x14000b8a2
mov rax, qword [rsp + 0x68]
mov ecx, dword [rsp + 0xa0]
mov dword [rax + 0x202c], ecx
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x14000b886
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
jmp 0x14000b892
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0xa0]
mov ecx, dword [rsp + 0x60]
mov dword [rax], ecx
jmp 0x14000b8ee
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0xa0]
mov qword [rax + 0x58], rcx
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x14000b8d2
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
jmp 0x14000b8de
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x70]
mov qword [rax], rcx
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x20], rax
lea r9, [0x14000e970]
lea r8, [0x14000e990]
xor edx, edx
mov ecx, 0x4d
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov rax, qword [rsp + 0xd0]
mov byte [rax + 0x58], 1
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x14000b942
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x78], rax
jmp 0x14000b94f
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x50], rax
jmp 0x14000b99d
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x14000b979
mov qword [rsp + 0x80], 8
jmp 0x14000b985
mov qword [rsp + 0x80], 4
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x14000b9bf
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov qword [rsp + 0x88], rax
jmp 0x14000b9ce
mov rax, qword [rsp + 0x50]
mov eax, dword [rax]
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
je 0x14000ba5f
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x14000b9ff
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov qword [rsp + 0x90], rax
jmp 0x14000ba0e
mov rax, qword [rsp + 0x50]
mov eax, dword [rax]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 1
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x20], rax
mov r9d, 3
mov r8, qword [rsp + 0x98]
mov rdx, qword [rsp + 0xd0]
xor ecx, ecx
call fcn.140018130
jmp 0x14000b95b
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.140001860
add rsp, 0xc8
ret