Function at 0x14000c570
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x14005a080]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov r13, qword [0x1403b1430]
mov qword [rsp + 0x28], r13
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
xor r12d, r12d
mov qword [r11 - 0x38], r12
mov ecx, 0x354411
call fcn.1400168bc
test rax, rax
je 0x14000c965
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
mov qword [rsp + 0x70], rbx
lea r15, [rbx + 0x3543ea]
mov qword [rsp + 0x80], r15
xor edx, edx
mov r8d, 0x3543ea
mov rcx, rbx
call fcn.14003aa70
mov qword [rsp + 0x78], r15
mov r8d, 0x3543ea
lea rdx, [0x14005acc0]
mov rcx, rbx
call fcn.14003a3d0
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x14000c8e3
movsxd rsi, dword [rbx + 0x3c]
add rsi, rbx
cmp dword [rsi], 0x4550
jne 0x14000c8e3
mov eax, 0x20b
cmp word [rsi + 0x18], ax
je 0x14000c652
lea rdx, str.____Image_is_not_64_bit
jmp 0x14000c8ea
mov edi, dword [rsi + 0x50]
mov edx, edi
xor ecx, ecx
lea r9d, [rcx + 4]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r14, rax
test rax, rax
je 0x14000c902
movzx ecx, word [rsi + 0x14]
mov eax, dword [rcx + rsi + 0x24]
mov dword [rsp + 0x20], eax
sub edi, eax
mov eax, edi
mov qword [rsp + 0x38], rax
mov r8d, edi
mov rcx, r13
call fcn.140003910
mov qword [rsp + 0x40], rax
mov r13, rax
test rax, rax
jne 0x14000c6c7
lea rdx, str.____Failed_to_allocate_remote_image_in_kernel
lea rcx, [0x1403afb80]
call fcn.140009520
mov rcx, rax
call fcn.1400097d0
mov rbp, qword [rsp + 0x28]
jmp 0x14000c8ab
mov r8d, dword [rsi + 0x54]
mov rdx, rbx
mov rcx, r14
call fcn.14003a3d0
movzx edi, word [rsi + 0x14]
add rdi, 0x28
mov ebp, r12d
cmp r12w, word [rsi + 6]
jae 0x14000c712
add rdi, rsi
nop dword [rax + rax]
mov ecx, dword [rdi - 4]
add rcx, r14
mov r8d, dword [rdi]
mov edx, dword [rdi + 4]
add rdx, rbx
call fcn.14003a3d0
inc ebp
lea rdi, [rdi + 0x28]
movzx eax, word [rsi + 6]
cmp ebp, eax
jl 0x14000c6f0
mov qword [rsp + 0x30], r13
mov eax, dword [rsp + 0x20]
sub r13, rax
mov rdi, r13
sub rdi, qword [rsi + 0x30]
mov rdx, r14
lea rcx, [rsp + 0x58]
call fcn.1400113d0
mov rdx, rdi
mov rcx, rax
call fcn.14000c970
mov rdx, r14
lea rcx, [rsp + 0x58]
call fcn.140011520
mov rdx, rax
mov rbp, qword [rsp + 0x28]
mov rcx, rbp
call fcn.14000ca70
test al, al
jne 0x14000c776
lea rdx, str.____Failed_to_resolve_imports
lea rcx, [0x1403afb80]
call fcn.140009520
jmp 0x14000c8a3
mov r8d, dword [rsp + 0x20]
add r8, r14
mov r9, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
mov rcx, rbp
call fcn.140003640
test al, al
jne 0x14000c7ac
lea rdx, str.____Failed_to_write_local_image_to_remote_image
lea rcx, [0x1403afb80]
call fcn.140009520
jmp 0x14000c8a3
mov edi, dword [rsi + 0x28]
add rdi, r13
lea rdx, str.____Calling_entry_point...
lea rsi, [0x1403afb80]
mov rcx, rsi
call fcn.140009520
mov rcx, rax
call fcn.1400097d0
mov dword [rsp + 0x20], r12d
mov r8, rdi
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.14000d060
test al, al
jne 0x14000c7fd
lea rdx, str.____Failed_to_call_driver_entry.
mov rcx, rsi
call fcn.140009520
jmp 0x14000c8a3
mov r13d, dword [rsp + 0x20]
test r13d, r13d
jns 0x14000c8cb
lea rdx, str.____Failed_to_init_driver:_Error_0x
mov rcx, rsi
call fcn.140009520
mov rdi, rax
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov ecx, dword [rdx + rax + 0x18]
and ecx, 0xfffff9ff
bts ecx, 0xb
mov dword [rdx + rax + 0x18], ecx
mov edx, 8
lea rcx, [rsp + 0x48]
call fcn.140015e4c
mov r8, qword [rax]
mov rcx, qword [rdi]
movsxd rcx, dword [rcx + 4]
add rcx, rdi
mov rdx, qword [rax + 8]
call r8
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
mov byte [rcx + rdi + 0x58], 0x30
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
or dword [rcx + rdi + 0x18], 4
mov edx, r13d
mov rcx, rdi
call fcn.14000ce20
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
and dword [rdx + rax + 0x18], 0xfffffffb
mov rcx, qword [rax]
movsxd r8, dword [rcx + 4]
mov edx, dword [r8 + rax + 0x18]
and edx, 0xfffff3ff
bts edx, 9
mov dword [r8 + rax + 0x18], edx
mov rcx, rax
call fcn.1400097d0
xor edx, edx
mov r8d, 0x8000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rsp + 0x40]
mov rcx, rbp
call fcn.140003af0
jmp 0x14000c902
xor edx, edx
mov r8d, 0x8000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov r12, qword [rsp + 0x30]
jmp 0x14000c902
lea rdx, str.____Invalid_format_of_PE_image
lea rsi, [0x1403afb80]
mov rcx, rsi
call fcn.140009520
mov rcx, rax
call fcn.1400097d0
nop
sub r15, rbx
cmp r15, 0x1000
jb 0x14000c926
add r15, 0x27
mov rax, qword [rbx - 8]
sub rbx, rax
add rbx, 0xfffffffffffffff8
cmp rbx, 0x1f
ja 0x14000c965
mov rbx, rax
mov rdx, r15
mov rcx, rbx
call fcn.1400164f0
mov rax, r12
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400164d0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.1400202a0
int3