Function at 0x140001ff0
Capabilities:
Access pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov rax, qword [0x140006090]
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 0x14000203e
jmp 0x14000233f
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 0x14000206d
jmp 0x14000233f
mov rax, qword [rsp + 0xd0]
movzx eax, byte [rax + 0x58]
test eax, eax
jne 0x140002202
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x1400020a0
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
jmp 0x1400020ac
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x140002202
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 0x140002202
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 0x140002182
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 0x140002166
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
jmp 0x140002172
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 0x1400021ce
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 0x1400021b2
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
jmp 0x1400021be
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, [0x140004210]
lea r8, [0x140004230]
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 0x140002222
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x78], rax
jmp 0x14000222f
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 0x14000227d
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x140002259
mov qword [rsp + 0x80], 8
jmp 0x140002265
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 0x14000229f
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov qword [rsp + 0x88], rax
jmp 0x1400022ae
mov rax, qword [rsp + 0x50]
mov eax, dword [rax]
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
je 0x14000233f
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x1400022df
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov qword [rsp + 0x90], rax
jmp 0x1400022ee
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.14000bc70
jmp 0x14000223b
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.140003e80
add rsp, 0xc8
ret