Function at 0x14000e6f0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rbx, rdx
mov r12, qword [0x14005be98]
mov byte [rsp + 0x90], 0
mov ecx, 1
call fcn.140014db8
mov qword [rsp + 0x20], rax
lea rcx, [rax + 1]
mov qword [rsp + 0x30], rcx
mov byte [rax], 0
mov qword [rsp + 0x28], rcx
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140010be0
mov rdi, qword [rsp + 0x20]
test al, al
jne 0x14000e75d
lea rdx, str.____Failed_to_read_image_to_memory
jmp 0x14000e994
mov eax, 0x5a4d
cmp word [rdi], ax
jne 0x14000e98d
movsxd rsi, dword [rdi + 0x3c]
add rsi, rdi
cmp dword [rsi], 0x4550
jne 0x14000e98d
mov eax, 0x20b
cmp word [rsi + 0x18], ax
je 0x14000e795
lea rdx, str.____Image_is_not_64_bit
jmp 0x14000e994
mov ebx, dword [rsi + 0x50]
mov edx, ebx
xor ecx, ecx
lea r9d, [rcx + 4]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r14, rax
test rax, rax
je 0x14000e9a8
movzx ecx, word [rsi + 0x14]
mov eax, dword [rcx + rsi + 0x24]
mov dword [rsp + 0xa0], eax
sub ebx, eax
mov r13d, ebx
mov r8d, ebx
mov rcx, r12
call fcn.140003290
mov qword [0x14005bea0], rax
xor r15d, r15d
test rax, rax
jne 0x14000e7f7
lea rcx, str.____Failed_to_allocate_remote_image_in_kernel._n
call fcn.1400011d0
jmp 0x14000e93a
mov rdx, rax
lea rcx, str.___Image_base_has_been_allocated_at_0x_llX_n
call fcn.1400011d0
mov r8d, dword [rsi + 0x54]
mov rdx, rdi
mov rcx, r14
call fcn.140016c30
movzx ebx, word [rsi + 0x14]
add rbx, 0x28
mov ebp, r15d
cmp r15w, word [rsi + 6]
jae 0x14000e852
add rbx, rsi
nop word [rax + rax]
mov ecx, dword [rbx - 4]
add rcx, r14
mov r8d, dword [rbx]
mov edx, dword [rbx + 4]
add rdx, rdi
call fcn.140016c30
inc ebp
lea rbx, [rbx + 0x28]
movzx eax, word [rsi + 6]
cmp ebp, eax
jl 0x14000e830
mov rbp, qword [0x14005bea0]
mov edx, dword [rsp + 0xa0]
mov qword [rsp + 0xa0], rdx
mov rax, rbp
sub rax, rdx
mov qword [0x14005bea0], rax
lea rcx, str.___Skipped_0x_X_bytes_of_PE_Header_n
call fcn.1400011d0
mov rbx, qword [0x14005bea0]
sub rbx, qword [rsi + 0x30]
mov rdx, r14
lea rcx, [rsp + 0x38]
call fcn.14000f390
mov rdx, rbx
mov rcx, rax
call fcn.14000ea10
mov rdx, r14
lea rcx, [rsp + 0x38]
call fcn.14000f4c0
mov rdx, rax
mov rcx, r12
call fcn.14000eb10
test al, al
jne 0x14000e8c9
lea rcx, str.____Failed_to_resolve_imports_n
jmp 0x14000e92e
mov r8, qword [rsp + 0xa0]
add r8, r14
mov r9, r13
mov rdx, rbp
mov rcx, r12
call fcn.140003000
test al, al
jne 0x14000e8ef
lea rcx, str.____Failed_to_write_local_image_to_remote_image_n
jmp 0x14000e92e
mov ebx, dword [rsi + 0x28]
add rbx, qword [0x14005bea0]
mov rdx, rbx
lea rcx, str.___Calling_DriverEntry_0x_llX_n
call fcn.1400011d0
mov dword [rsp + 0xa0], r15d
mov r8, rbx
lea rdx, [rsp + 0xa0]
mov rcx, r12
call fcn.14000eea0
test al, al
jne 0x14000e95c
lea rcx, str.____Failed_to_call_driver_entry_n
call fcn.1400011d0
mov qword [0x14005bea0], rbp
xor edx, edx
mov r8d, 0x8000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [0x14005bea0]
mov rcx, r12
call fcn.140003470
jmp 0x14000e9ab
mov edx, dword [rsp + 0xa0]
lea rcx, str.___DriverEntry_return_0x_X_n
call fcn.1400011d0
xor edx, edx
mov r8d, 0x8000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, r12
call fcn.140005880
mov r15, rbp
jmp 0x14000e9ab
lea rdx, str.____Invalid_format_of_PE_image
lea rcx, [0x14005a7e0]
call fcn.14000d3c0
mov rcx, rax
call fcn.14000d630
xor r15d, r15d
test rdi, rdi
je 0x14000e9e1
mov rdx, qword [rsp + 0x30]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x14000e9d9
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e9fc
mov rcx, rdi
call fcn.140014b18
mov rax, r15
mov rbx, qword [rsp + 0x98]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14001eb84
int3