Function at 0x1400108a0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x268
mov qword [rsp + 0x1b0], 0xfffffffffffffffe
mov rax, qword [0x14002d010]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov edx, 0x18
lea rcx, [rsp + 0x238]
call fcn.140002130
lea rcx, [rsp + 0x48]
call fcn.1400014a0
mov qword [rsp + 0x78], rax
mov byte [rsp + 0x24], 0
lea rax, [rsp + 0x25]
mov r8, rax
lea rdx, [rsp + 0x24]
lea rcx, [rsp + 0x1e0]
call fcn.14000cda0
lea rcx, [rsp + 0x1b8]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x1d0]
lea rcx, [rsp + 0x1b8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r8, qword [rsp + 0x78]
lea rdx, [rsp + 0x1d0]
lea rcx, [rsp + 0x238]
call fcn.1400114f0
nop
lea rdx, [rsp + 0x238]
mov rcx, qword [rsp + 0x288]
call fcn.1400163b0
movzx eax, al
test eax, eax
jne 0x1400109d0
lea rdx, str.____Failed_to_read_image_to_memory
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400086c0
mov qword [rsp + 0x80], rax
lea rdx, [0x140008b00]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov qword [rsp + 0x88], 0
lea rcx, [rsp + 0x238]
call fcn.1400114c0
mov rax, qword [rsp + 0x88]
jmp 0x140011135
lea rcx, [rsp + 0x238]
call fcn.140011490
mov rcx, rax
call fcn.140012890
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x140010a48
lea rdx, str.____Invalid_format_of_PE_image
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400086c0
mov qword [rsp + 0x90], rax
lea rdx, [0x140008b00]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov qword [rsp + 0x98], 0
lea rcx, [rsp + 0x238]
call fcn.1400114c0
mov rax, qword [rsp + 0x98]
jmp 0x140011135
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140010aae
lea rdx, str.____Image_is_not_64_bit
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400086c0
mov qword [rsp + 0xa0], rax
lea rdx, [0x140008b00]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov qword [rsp + 0xa8], 0
lea rcx, [rsp + 0x238]
call fcn.1400114c0
mov rax, qword [rsp + 0xa8]
jmp 0x140011135
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x50]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x140010b07
mov qword [rsp + 0xb0], 0
lea rcx, [rsp + 0x238]
call fcn.1400114c0
mov rax, qword [rsp + 0xb0]
jmp 0x140011135
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x24]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x4c]
sub ecx, eax
mov eax, ecx
mov eax, eax
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0x280]
call fcn.140002890
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x140010b7f
lea rdx, str.____Failed_to_allocate_remote_image_in_kernel
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400086c0
mov qword [rsp + 0xb8], rax
lea rdx, [0x140008b00]
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x1400110f5
lea rdx, str.___Image_base_has_been_allocated_at_0x
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400086c0
mov qword [rsp + 0xc0], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___void_const____ptr64____ptr64]
mov qword [rsp + 0xc8], rax
lea rdx, [0x140008b00]
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x54]
mov qword [rsp + 0xd0], rax
lea rcx, [rsp + 0x238]
call fcn.140011490
mov rdi, qword [rsp + 0x40]
mov rsi, rax
mov rax, qword [rsp + 0xd0]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x20], 0
jmp 0x140010c28
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x20], eax
jge 0x140010cb5
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx + rax + 0xc]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xd8], rax
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx + rax + 0x10]
mov qword [rsp + 0xe0], rax
lea rcx, [rsp + 0x238]
call fcn.140011490
movsxd rcx, dword [rsp + 0x20]
imul rcx, rcx, 0x28
mov rdx, qword [rsp + 0x60]
mov ecx, dword [rdx + rcx + 0x14]
add rax, rcx
mov rdi, qword [rsp + 0xd8]
mov rsi, rax
mov rax, qword [rsp + 0xe0]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
jmp 0x140010c1e
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
lea rdx, str.___Skipped_0x
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400086c0
mov qword [rsp + 0xe8], rax
lea rdx, [0x140001760]
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov qword [rsp + 0xf0], rax
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
lea rdx, str._bytes_of_PE_Header
mov rcx, rax
call fcn.1400086c0
mov qword [rsp + 0xf8], rax
lea rdx, [0x140008b00]
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x30]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x110], rax
lea rax, [rsp + 0x200]
mov qword [rsp + 0x100], rax
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x100]
call fcn.1400128f0
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x118], rax
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x118]
call fcn.140011150
lea rax, [rsp + 0x218]
mov qword [rsp + 0x120], rax
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x120]
call fcn.140012af0
mov qword [rsp + 0x128], rax
mov rdx, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x280]
call fcn.140011250
movzx eax, al
test eax, eax
jne 0x140010e39
lea rdx, str.____Failed_to_resolve_imports
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400086c0
mov qword [rsp + 0x130], rax
lea rdx, [0x140008b00]
mov rcx, qword [rsp + 0x130]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x38], rax
jmp 0x1400110f5
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x4c]
sub ecx, eax
mov eax, ecx
mov eax, eax
mov ecx, dword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
add rdx, rcx
mov rcx, rdx
mov r9d, eax
mov r8, rcx
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x280]
call fcn.140002660
movzx eax, al
test eax, eax
jne 0x140010eb4
lea rdx, str.____Failed_to_write_local_image_to_remote_image
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400086c0
mov qword [rsp + 0x138], rax
lea rdx, [0x140008b00]
mov rcx, qword [rsp + 0x138]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x38], rax
jmp 0x1400110f5
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x28]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
lea rdx, str.____Calling_DriverEntry_0x
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400086c0
mov qword [rsp + 0x140], rax
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x140]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___void_const____ptr64____ptr64]
mov qword [rsp + 0x148], rax
lea rdx, [0x140008b00]
mov rcx, qword [rsp + 0x148]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov dword [rsp + 0x230], 0
mov r8, qword [rsp + 0x68]
lea rdx, [rsp + 0x230]
mov rcx, qword [rsp + 0x280]
call fcn.140011ae0
movzx eax, al
test eax, eax
jne 0x140010f82
lea rdx, str.____Failed_to_call_driver_entry
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400086c0
mov qword [rsp + 0x150], rax
lea rdx, [0x140008b00]
mov rcx, qword [rsp + 0x150]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x38], rax
jmp 0x1400110f5
lea rdx, str.___DriverEntry_returned_0x
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400086c0
mov qword [rsp + 0x158], rax
lea rdx, [0x140001760]
mov rcx, qword [rsp + 0x158]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov qword [rsp + 0x168], rax
mov edx, 8
lea rcx, [rsp + 0x1f0]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov qword [rsp + 0x160], rax
mov rdx, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x168]
call fcn.140011da0
mov qword [rsp + 0x178], rax
mov dl, 0x30
lea rcx, [rsp + 0x49]
call fcn.140011df0
mov qword [rsp + 0x170], rax
mov rdx, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x178]
call fcn.140011e20
mov qword [rsp + 0x180], rax
lea rdx, [0x140010870]
mov rcx, qword [rsp + 0x180]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov qword [rsp + 0x188], rax
mov eax, dword [rsp + 0x230]
mov dword [rsp + 0x58], eax
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x188]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int____ptr64]
mov qword [rsp + 0x190], rax
lea rdx, [0x140010840]
mov rcx, qword [rsp + 0x190]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov qword [rsp + 0x198], rax
lea rdx, [0x140010810]
mov rcx, qword [rsp + 0x198]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov qword [rsp + 0x1a0], rax
lea rdx, [0x140008b00]
mov rcx, qword [rsp + 0x1a0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x1a8], rax
lea rcx, [rsp + 0x238]
call fcn.1400114c0
mov rax, qword [rsp + 0x1a8]
jmp 0x140011135
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x280]
call fcn.140002a20
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x238]
call fcn.1400114c0
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140018210
add rsp, 0x268
pop rdi
pop rsi
ret