Function at 0x1400079a0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], rax
mov r14, qword [0x14029bcf0]
mov eax, 0x5a4d
cmp word [0x140294e50], ax
jne 0x140007a7c
movsxd rdi, dword [0x140294e8c]
lea rsi, [0x140294e50]
add rdi, rsi
cmp dword [rdi], 0x4550
jne 0x140007a7c
mov eax, 0x20b
cmp word [rdi + 0x18], ax
jne 0x140007a7c
mov ebx, dword [rdi + 0x50]
mov edx, ebx
xor ecx, ecx
lea r9d, [rcx + 4]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbp, rax
test rax, rax
je 0x140007a7c
movzx ecx, word [rdi + 0x14]
mov r13d, dword [rcx + rdi + 0x24]
mov dword [rsp + 0x30], r13d
sub ebx, r13d
mov dword [rsp + 0x34], ebx
mov edx, ebx
mov rcx, r14
call fcn.140007800
mov r15, rax
mov rdx, qword [0x14029bd98]
sub rdx, qword [0x14029bd90]
sar rdx, 3
mov rcx, r14
call fcn.140007800
mov r12, rax
mov rcx, rbp
test r15, r15
jne 0x140007a9f
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
lea r11, [rsp + 0x80]
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
mov r8d, dword [rdi + 0x54]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
movzx ebx, word [rdi + 0x14]
add rbx, 0x28
xor eax, eax
mov esi, eax
cmp ax, word [rdi + 6]
jae 0x140007af7
add rbx, rdi
lea r13, [0x140294e50]
test dword [rbx + 0x14], 0x80
ja 0x140007ae4
mov r8d, dword [rbx]
mov edx, dword [rbx + 4]
add rdx, r13
mov ecx, dword [rbx - 4]
add rcx, rbp
call sub.VCRUNTIME140.dll_memcpy
inc esi
add rbx, 0x28
movzx eax, word [rdi + 6]
cmp esi, eax
jl 0x140007ac7
mov r13d, dword [rsp + 0x30]
mov rsi, r15
mov eax, r13d
sub r15, rax
mov rbx, r15
sub rbx, qword [rdi + 0x30]
mov rdx, rbp
lea rcx, [rsp + 0x68]
call fcn.140007390
mov rdx, rbx
mov rcx, rax
call fcn.140007d60
mov rdx, r15
mov rcx, rbp
call fcn.140007e60
test al, al
je 0x140007a7c
mov rdx, rbp
lea rcx, [rsp + 0x68]
call fcn.1400074c0
mov rdx, rax
mov rcx, r14
call fcn.140007f10
test al, al
je 0x140007c85
mov r8, qword [0x14029bd90]
mov r9, qword [0x14029bd98]
sub r9, r8
sar r9, 3
mov rdx, r12
mov rcx, r14
call fcn.140004db0
test al, al
je 0x140007cd2
mov r13d, dword [rsp + 0x34]
mov r8d, dword [rsp + 0x30]
add r8, rbp
mov r9d, r13d
mov rdx, rsi
mov rcx, r14
call fcn.140004db0
test al, al
je 0x140007c85
mov r8, qword [0x14029bd90]
mov r9, qword [0x14029bd98]
sub r9, r8
sar r9, 3
mov rdx, r12
mov rcx, r14
call fcn.140004db0
test al, al
je 0x140007cd2
mov r8, qword [0x14029bd90]
mov r9, qword [0x14029bd98]
sub r9, r8
sar r9, 3
mov rdx, r12
mov rcx, r14
call fcn.140004db0
test al, al
je 0x140007cd2
mov ebx, dword [rdi + 0x28]
add rbx, r15
xor edi, edi
mov qword [rsp + 0x20], rdi
mov r9d, r13d
mov r8, rsi
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.14000b780
test al, al
je 0x140007c85
mov r8, qword [0x14029bd90]
mov r9, qword [0x14029bd98]
sub r9, r8
sar r9, 3
mov rdx, r12
mov rcx, r14
call fcn.140004db0
test al, al
je 0x140007cd2
mov dword [rsp + 0x30], edi
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, rbx
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.14000f310
test al, al
jne 0x140007c8a
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.14000f0f0
lea rdx, [0x14000f2d0]
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 r15, rsi
jmp 0x140007cf5
mov r8, qword [0x14029bd90]
mov r9, qword [0x14029bd98]
sub r9, r8
sar r9, 3
mov rdx, r12
mov rcx, r14
call fcn.140004db0
test al, al
je 0x140007cd2
mov r8, qword [0x14029bd90]
mov r9, qword [0x14029bd98]
sub r9, r8
sar r9, 3
mov rdx, r12
mov rcx, r14
call fcn.140004db0
test al, al
jne 0x140007d1b
lea rdx, str.____Nigga_fuck_you
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14000f0f0
lea rdx, [0x14000f2d0]
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, rbp
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov r8d, dword [rsp + 0x34]
mov rdx, r15
mov rcx, r14
call fcn.140004fd0
jmp 0x140007a7c
mov r8, qword [0x14029bd98]
sub r8, qword [0x14029bd90]
sar r8, 3
mov rdx, r12
mov rcx, r14
call fcn.140004fd0
xor edx, edx
mov r8d, 0x8000
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, rsi
jmp 0x140007a7e