Function at 0x14007f070
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x138
mov rcx, qword [rsp + 0x158]
call fcn.1400818e0
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x14007f0de
lea rdx, [0x1400faff8]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400769a0
mov qword [rsp + 0x80], rax
lea rdx, [0x140079b40]
mov rcx, qword [rsp + 0x80]
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 eax, eax
jmp 0x14007f6e4
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14007f125
lea rdx, str.____Image_is_not_64_bit
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400769a0
mov qword [rsp + 0x88], rax
lea rdx, [0x140079b40]
mov rcx, qword [rsp + 0x88]
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 eax, eax
jmp 0x14007f6e4
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x50]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x14007f15f
xor eax, eax
jmp 0x14007f6e4
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax + 0x24]
mov dword [rsp + 0x58], eax
movzx eax, byte [rsp + 0x178]
test eax, eax
je 0x14007f18b
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x5c], eax
jmp 0x14007f193
mov dword [rsp + 0x5c], 0
mov eax, dword [rsp + 0x5c]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x68], 0
movzx eax, byte [rsp + 0x180]
test eax, eax
je 0x14007f1e0
mov eax, dword [rsp + 0x34]
lea r8, [rsp + 0x68]
mov edx, eax
mov rcx, qword [rsp + 0x150]
call fcn.14007ed90
mov qword [rsp + 0x38], rax
jmp 0x14007f1fb
mov eax, dword [rsp + 0x34]
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0x150]
call fcn.14007a600
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x14007f238
lea rdx, str.____Failed_to_allocate_remote_image_in_kernel
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400769a0
mov qword [rsp + 0x90], rax
lea rdx, [0x140079b40]
mov rcx, qword [rsp + 0x90]
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]
jmp 0x14007f6bd
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x54]
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x158]
mov ecx, eax
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x30], 0
jmp 0x14007f27d
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x30], eax
jge 0x14007f318
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax + 0x24]
and eax, 0x80
test eax, eax
jbe 0x14007f2ad
jmp 0x14007f273
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax + 0xc]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax + 0x10]
movsxd rcx, dword [rsp + 0x30]
imul rcx, rcx, 0x28
mov rdx, qword [rsp + 0x70]
mov ecx, dword [rdx + rcx + 0x14]
mov rdx, qword [rsp + 0x158]
add rdx, rcx
mov rcx, rdx
mov rdi, qword [rsp + 0x98]
mov rsi, rcx
mov ecx, eax
rep movsb byte [rdi], byte [rsi]
jmp 0x14007f273
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x48], rax
movzx eax, byte [rsp + 0x178]
test eax, eax
je 0x14007f342
mov eax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x30]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0xa8], rax
lea rax, [rsp + 0x100]
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0xa0]
call fcn.140081940
mov qword [rsp + 0xb0], rax
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xb0]
call fcn.14007f6f0
lea rax, [rsp + 0x118]
mov qword [rsp + 0xb8], rax
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0xb8]
call fcn.140081580
mov rdx, rax
mov rcx, qword [rsp + 0x150]
call fcn.14007f7f0
movzx eax, al
test eax, eax
jne 0x14007f415
lea rdx, [0x1400fb0e0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400769a0
mov qword [rsp + 0xc0], rax
lea rdx, [0x140079b40]
mov rcx, qword [rsp + 0xc0]
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 rax, qword [rsp + 0x48]
mov qword [rsp + 0x38], rax
jmp 0x14007f6bd
mov eax, dword [rsp + 0x34]
mov qword [rsp + 0xc8], rax
movzx eax, byte [rsp + 0x178]
test eax, eax
je 0x14007f437
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x60], eax
jmp 0x14007f43f
mov dword [rsp + 0x60], 0
mov eax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov r9, qword [rsp + 0xc8]
mov r8, rax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x150]
call fcn.14007e500
movzx eax, al
test eax, eax
jne 0x14007f4b1
lea rdx, str.____Failed_to_write_local_image_to_remote_image
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400769a0
mov qword [rsp + 0xd0], rax
lea rdx, [0x140079b40]
mov rcx, qword [rsp + 0xd0]
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 rax, qword [rsp + 0x48]
mov qword [rsp + 0x38], rax
jmp 0x14007f6bd
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x28]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xf0], rax
cmp qword [rsp + 0x190], 0
je 0x14007f55e
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0xd8], rax
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x20], rcx
mov r9d, eax
mov r8, qword [rsp + 0x48]
lea rdx, [rsp + 0x168]
lea rcx, [rsp + 0x160]
call qword [rsp + Ordinal_217]
movzx eax, al
test eax, eax
jne 0x14007f55e
lea rdx, str.____Callback_returns_false__failed_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400769a0
mov qword [rsp + 0xe0], rax
lea rdx, [0x140079b40]
mov rcx, qword [rsp + 0xe0]
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 rax, qword [rsp + 0x48]
mov qword [rsp + 0x38], rax
jmp 0x14007f6bd
mov dword [rsp + 0x64], 0
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0xe8], rax
movzx eax, byte [rsp + 0x188]
test eax, eax
je 0x14007f58e
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x78], rax
jmp 0x14007f59b
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x78]
mov r8, qword [rsp + 0xf0]
lea rdx, [rsp + 0x64]
mov rcx, qword [rsp + 0x150]
call fcn.14007e900
movzx eax, al
test eax, eax
jne 0x14007f60d
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.1400769a0
mov qword [rsp + 0xf8], rax
lea rdx, [0x140079b40]
mov rcx, qword [rsp + 0xf8]
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 rax, qword [rsp + 0x48]
mov qword [rsp + 0x38], rax
jmp 0x14007f6bd
cmp qword [rsp + 0x198], 0
je 0x14007f626
mov rax, qword [rsp + 0x198]
mov ecx, dword [rsp + 0x64]
mov dword [rax], ecx
movzx eax, byte [rsp + 0x170]
test eax, eax
je 0x14007f67b
movzx eax, byte [rsp + 0x180]
test eax, eax
je 0x14007f67b
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x150]
call fcn.14007dc80
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x150]
call fcn.14007d7e0
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x150]
call fcn.14007c580
jmp 0x14007f699
movzx eax, byte [rsp + 0x170]
test eax, eax
je 0x14007f699
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x150]
call fcn.14007c580
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, qword [rsp + 0x48]
jmp 0x14007f6e4
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x150]
call fcn.14007c580
xor eax, eax
add rsp, 0x138
pop rdi
pop rsi
ret