Function at 0x14000b1c0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x17]
sub rsp, 0xa0
mov rax, qword [0x140022010]
xor rax, rsp
mov qword [rbp + 7], rax
mov rbx, rdx
mov r15, qword [0x140022c50]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x11], xmm0
xor edi, edi
mov qword [rbp - 1], rdi
lea ecx, [rdi + 1]
call fcn.14000ec20
mov qword [rbp - 0x11], rax
lea rdx, [rax + 1]
mov qword [rbp - 1], rdx
mov byte [rax], dil
mov qword [rbp - 9], rdx
lea rdx, [rbp - 0x11]
mov rcx, rbx
call fcn.14000d9d0
test al, al
jne 0x14000b241
lea rdx, str.____Failed_to_read_image_to_memory
jmp 0x14000b6c5
mov ecx, 0x5a4d
mov rax, qword [rbp - 0x11]
cmp word [rax], cx
jne 0x14000b6be
movsxd rsi, dword [rax + 0x3c]
add rsi, rax
cmp dword [rsi], 0x4550
jne 0x14000b6be
mov eax, 0x20b
cmp word [rsi + 0x18], ax
je 0x14000b27d
lea rdx, str.____Image_is_not_64_bit
jmp 0x14000b6c5
mov ebx, dword [rsi + 0x50]
mov dword [rbp - 0x29], ebx
mov r9d, 4
mov r8d, 0x3000
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r12, rax
test rax, rax
je 0x14000b6e2
movzx ecx, word [rsi + 0x14]
mov ecx, dword [rcx + rsi + 0x24]
mov dword [rbp - 0x59], ecx
mov qword [rbp - 0x19], rdi
mov qword [rbp - 0x21], rdi
cmp byte [rbp + 0x77], 0
je 0x14000b2eb
mov r8d, ebx
mov rdx, r15
lea rcx, [rbp - 0x49]
call fcn.14000acc0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x49], xmm0
movq qword [rbp - 0x19], xmm0
movq r13, xmm0
mov rax, qword [rbp - 0x41]
mov qword [rbp - 0x21], rax
jmp 0x14000b432
sub ebx, ecx
jne 0x14000b2ff
mov qword [rbp - 0x51], rdi
lea rdx, str.____Failed_to_allocate_remote_image_in_kernel
jmp 0x14000b5f6
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140022ca0], eax
jle 0x14000b3c8
lea rcx, [0x140022ca0]
call fcn.14000eb10
cmp dword [0x140022ca0], 0xffffffff
jne 0x14000b3c8
mov qword [rbp - 0x49], rdi
mov qword [rbp - 0x39], rdi
mov qword [rbp - 0x31], 0xf
mov byte [rbp - 0x49], 0
mov r8d, 0x15
lea rdx, [0x140012150]
lea rcx, [rbp - 0x49]
call fcn.140005e90
nop
lea r8, [rbp - 0x49]
mov rdx, qword [0x140022c48]
mov rcx, r15
call fcn.140002720
mov qword [0x140022d48], rax
mov rdx, qword [rbp - 0x31]
cmp rdx, 0x10
jb 0x14000b3bc
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b3b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b3b6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000e980
nop
lea rcx, [0x140022ca0]
call fcn.14000eab0
cmp qword [0x140022d48], 0
jne 0x14000b405
lea rdx, str.____Failed_to_find_ExAllocatePool
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140006020
lea rdx, [0x140006200]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov qword [rbp - 0x51], rdi
lea rdx, str.____Failed_to_allocate_remote_image_in_kernel
jmp 0x14000b5f6
mov qword [rbp - 0x51], rdi
mov qword [rsp + 0x20], rbx
lea rdx, [rbp - 0x51]
mov rcx, r15
call fcn.140006ed0
test al, al
jne 0x14000b42e
mov qword [rbp - 0x51], rdi
lea rdx, str.____Failed_to_allocate_remote_image_in_kernel
jmp 0x14000b5f6
mov r13, qword [rbp - 0x51]
mov qword [rbp - 0x51], r13
test r13, r13
jne 0x14000b447
lea rdx, str.____Failed_to_allocate_remote_image_in_kernel
jmp 0x14000b5f6
lea rdx, str.___Image_base_has_been_allocated_at_0x
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140006020
mov rdx, r13
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___void_const____ptr64____ptr64]
lea rdx, [0x140006200]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov r8d, dword [rsi + 0x54]
mov rdx, qword [rbp - 0x11]
mov rcx, r12
call sub.VCRUNTIME140.dll_memcpy
movzx ebx, word [rsi + 0x14]
add rbx, 0x28
mov r14d, edi
cmp di, word [rsi + 6]
jae 0x14000b4c5
add rbx, rsi
nop word [rax + rax]
mov ecx, dword [rbx - 4]
add rcx, r12
mov r8d, dword [rbx]
mov edx, dword [rbx + 4]
add rdx, qword [rbp - 0x11]
call sub.VCRUNTIME140.dll_memcpy
inc r14d
lea rbx, [rbx + 0x28]
movzx eax, word [rsi + 6]
cmp r14d, eax
jl 0x14000b4a0
mov r14, r13
mov ebx, dword [rbp - 0x59]
sub r13, rbx
lea rdx, str.___Skipped_0x
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140006020
lea rdx, [0x1400012b0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov edx, ebx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, str._bytes_of_PE_Header
call fcn.140006020
lea rdx, [0x140006200]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rbx, r13
sub rbx, qword [rsi + 0x30]
mov rdx, r12
lea rcx, [rbp - 0x49]
call fcn.14000c5d0
mov rdx, rbx
mov rcx, rax
call fcn.14000b750
mov rdx, r12
lea rcx, [rbp - 0x49]
call fcn.14000c720
mov rdx, rax
mov rcx, r15
call fcn.14000b850
test al, al
jne 0x14000b560
lea rdx, str.____Failed_to_resolve_imports
jmp 0x14000b5f6
mov r9d, dword [rbp - 0x29]
mov ecx, dword [rbp - 0x59]
sub r9d, ecx
lea r8, [r12 + rcx]
mov rdx, r14
mov rcx, r15
call fcn.140002070
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
test al, al
jne 0x14000b58d
lea rdx, str.____Failed_to_write_local_image_to_remote_image
jmp 0x14000b5fd
mov esi, dword [rsi + 0x28]
add rsi, r13
lea rdx, str.____Calling_DriverEntry_0x
call fcn.140006020
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___void_const____ptr64____ptr64]
lea rdx, [0x140006200]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov dword [rbp - 0x59], edi
movzx r13d, byte [rbp + 0x77]
mov rbx, qword [rbp - 0x21]
test r13b, r13b
je 0x14000b5d1
mov r9, rbx
jmp 0x14000b5dc
mov r9, rdi
cmp byte [rbp + 0x7f], dil
cmovne r9, r14
mov r8, rsi
lea rdx, [rbp - 0x59]
mov rcx, r15
call fcn.14000bca0
test al, al
jne 0x14000b634
lea rdx, str.____Failed_to_call_driver_entry
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140006020
lea rdx, [0x140006200]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xor edx, edx
mov r8d, 0x8000
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rbp - 0x51]
mov rcx, r15
call fcn.1400025e0
jmp 0x14000b6e2
lea rdx, str.___DriverEntry_returned_0x
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140006020
lea rdx, [0x1400012b0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov edx, dword [rbp - 0x59]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___long_int____ptr64]
lea rdx, [0x140006200]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
cmp byte [rbp + 0x67], 0
je 0x14000b6a8
mov rcx, r15
test r13b, r13b
je 0x14000b6a0
mov r8, rbx
mov rdx, qword [rbp - 0x19]
call fcn.140002360
mov rdx, rbx
mov rcx, r15
call fcn.1400024a0
mov rdx, rbx
mov rcx, r15
jmp 0x14000b6a3
mov rdx, r14
call fcn.1400025e0
xor edx, edx
mov r8d, 0x8000
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdi, r14
jmp 0x14000b6e2
lea rdx, str.____Invalid_format_of_PE_image
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140006020
lea rdx, [0x140006200]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
nop
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x14000b71f
mov rdx, qword [rbp - 1]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b71a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b71a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000e980
mov rax, rdi
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.14000e960
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret