Function at 0x140006930
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x100
mov rax, qword [0x140017040]
xor rax, rsp
mov qword [rbp + 0x27], rax
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf], xmm1
xor r13d, r13d
mov qword [rbp + 0x1f], r13
mov ecx, 0x2427
call fcn.140009a20
test rax, rax
je 0x1400070a0
lea rcx, [rax + 0x27]
and rcx, 0xffffffffffffffe0
mov qword [rcx - 8], rax
mov qword [rbp + 0xf], rcx
lea rbx, [rcx + 0x2400]
mov qword [rbp + 0x1f], rbx
mov r8d, 0x2400
lea rdx, [0x14000ce10]
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp + 0x17], rbx
mov rax, qword [rbp + 0xf]
cmp rax, rbx
jne 0x1400069e8
lea rdx, str._Error__Invalid_driver_buffer_size
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400088a0
lea rdx, [0x140008a80]
mov rcx, rax
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]
xor bl, bl
jmp 0x14000703a
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rbp - 0x49], xmm0
movups xmmword [rbp - 0x39], xmm0
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], rcx
movdqu xmmword [rsp + 0x20], xmm0
mov rcx, r13
mov qword [rsp + 0x30], rcx
sub rbx, rax
je 0x140006a9f
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
ja 0x1400070ad
cmp rbx, 0x1000
jb 0x140006a60
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x1400070a7
call fcn.140009a20
test rax, rax
je 0x140006a59
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140006a6b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140009a20
mov rdi, rax
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rdi
lea rcx, [rdi + rbx]
mov qword [rsp + 0x30], rcx
mov rbx, qword [rbp + 0x17]
mov rdx, qword [rbp + 0xf]
sub rbx, rdx
mov r8, rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
lea rdx, [rbx + rdi]
mov rcx, qword [rsp + 0x30]
jmp 0x140006aa4
mov rdx, qword [rsp + 0x28]
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x20], r13
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x41], rdx
mov qword [rbp - 0x39], rcx
mov qword [rbp - 0x31], r13
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x11], r13
mov qword [rbp - 9], r13
mov qword [rbp - 0x19], rax
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
mov qword [rbp - 0x11], rcx
movzx eax, word [rcx + 0x14]
add rcx, 0x18
add rcx, rax
mov qword [rbp - 9], rcx
call fcn.1400067b0
test al, al
jne 0x140006b22
mov r9d, 0x30
lea r8, str.Error
lea rdx, str.Unable_to_load_driver
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor bl, bl
jmp 0x140006faf
lea rcx, [rbp - 0x51]
call fcn.1400024a0
lea rax, vtable.std::_Func_impl_no_alloc_class__bool___cdecl_load_driver_void_::_2::_lambda_1___unsigned_long_long_unsigned___int64___char_const____ptr64__char_const____ptr64_.0
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x38]
mov qword [rbp - 0x59], rax
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x49]
call fcn.140001680
mov rax, qword [rbp - 0x29]
mov rdx, qword [rbp - 0x31]
cmp rdx, rax
je 0x140006b5f
mov qword [rbp - 0x29], rdx
mov r10, rdx
cmove r10, rax
mov r8, qword [rbp - 0x11]
mov ecx, dword [r8 + 0x50]
mov r9, r10
sub r9, rdx
cmp rcx, r9
jae 0x140006b83
lea rax, [rdx + rcx]
mov qword [rbp - 0x29], rax
jmp 0x140006bbb
jbe 0x140006bbb
mov rax, qword [rbp - 0x21]
sub rax, rdx
cmp rcx, rax
jbe 0x140006b9f
mov rdx, rcx
lea rcx, [rbp - 0x31]
call fcn.140001870
jmp 0x140006bb7
sub rcx, r9
lea rbx, [rcx + r10]
mov r8, rcx
xor edx, edx
mov rcx, r10
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x29], rbx
mov r8, qword [rbp - 0x11]
mov eax, dword [r8 + 0x54]
test eax, eax
je 0x140006bd7
mov r8d, eax
mov rdx, qword [rbp - 0x49]
mov rcx, qword [rbp - 0x31]
call sub.VCRUNTIME140.dll_memmove
mov r8, qword [rbp - 0x11]
mov rbx, r13
cmp r13w, word [r8 + 6]
jae 0x140006c1f
mov rdi, r13
mov rdx, qword [rbp - 9]
mov ecx, dword [rdx + rdi + 0xc]
add rcx, qword [rbp - 0x31]
mov r9d, dword [rdx + rdi + 0x10]
mov edx, dword [rdx + rdi + 0x14]
add rdx, qword [rbp - 0x49]
test r9d, r9d
je 0x140006c0e
mov r8d, r9d
call sub.VCRUNTIME140.dll_memmove
mov r8, qword [rbp - 0x11]
inc rbx
add rdi, 0x28
movzx eax, word [r8 + 6]
cmp rbx, rax
jb 0x140006be4
mov esi, dword [r8 + 0x50]
mov r12d, 4
mov ebx, r12d
mov rax, qword gs:[0x58]
add rbx, qword [rax]
mov eax, dword [rbx]
cmp dword [0x140017c28], eax
jle 0x140006c79
lea rcx, [0x140017c28]
call fcn.140009b40
cmp dword [0x140017c28], 0xffffffff
jne 0x140006c79
xor r8d, r8d
lea rdx, [0x14000c950]
call fcn.140001a40
mov qword [0x140017bf0], rax
lea rcx, [0x140017c28]
call fcn.140009ad4
mov rdi, qword [0x140017bf0]
mov eax, dword [rbx]
cmp dword [0x140017c10], eax
jle 0x140006ccf
lea rcx, [0x140017c10]
call fcn.140009b40
cmp dword [0x140017c10], 0xffffffff
jne 0x140006ccf
lea rcx, [0x14000c928]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140017c00], rax
lea rcx, [0x140017c10]
call fcn.140009ad4
mov rcx, qword [0x140017bc0]
mov rdx, rdi
call fcn.1400021a0
mov rax, qword [0x140017c00]
mov rdx, rsi
xor ecx, ecx
call rax
mov r15, rax
mov rcx, qword [0x140017bc0]
call fcn.1400023a0
mov rcx, qword [rbp - 0x11]
test byte [rcx + 0x16], 1
jne 0x140006df8
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.dbghelp.dll_ImageNtHeader]
mov r14, rax
mov r8d, 5
lea r9, [rbp + 7]
mov dl, 1
mov rcx, rax
call qword [sym.imp.dbghelp.dll_ImageDirectoryEntryToData]
mov rbx, rax
mov rdi, r15
sub rdi, qword [r14 + 0x30]
je 0x140006df4
mov ecx, dword [rbp + 7]
test ecx, ecx
je 0x140006df4
lea rsi, [rax + rcx]
cmp rax, rsi
jae 0x140006df4
lea r12, [0x140000000]
nop word [rax + rax]
xor r9d, r9d
mov r8d, dword [rbx]
mov rdx, qword [rbp - 0x31]
mov rcx, r14
call qword [sym.imp.dbghelp.dll_ImageRvaToVa]
mov r9, rax
mov r8d, dword [rbx + 4]
sub r8d, 8
shr r8d, 1
lea rbx, [rbx + 8]
mov r10d, r13d
je 0x140006de5
nop word [rax + rax]
movzx ecx, word [rbx]
mov edx, ecx
shr edx, 0xc
cmp edx, 0xa
ja case.0x140006da8.5
mov edx, dword [r12 + rdx*4 + 0x70b4]
add rdx, r12
jmp rdx
and ecx, 0xfff
add rcx, r9
mov rax, rdi
shr rax, 0x10
add word [rcx], ax
jmp case.0x140006da8.0
and ecx, 0xfff
add rcx, r9
add word [rcx], di
jmp case.0x140006da8.0
and ecx, 0xfff
add rcx, r9
add qword [rcx], rdi
inc r10d
add rbx, 2
cmp r10d, r8d
jb 0x140006d90
cmp rbx, rsi
jb 0x140006d60
mov r12d, 4
mov rcx, qword [rbp - 0x11]
mov r9d, dword [rcx + 0x50]
mov r8, qword [rbp - 0x31]
mov rdx, r15
call fcn.140002b50
mov rax, qword [rbp - 0x11]
mov ebx, dword [rax + 0x28]
add rbx, r15
mov esi, dword [rax + 0x50]
mov rax, qword gs:[0x58]
mov rdi, qword [rax]
mov eax, r12d
mov ecx, dword [rax + rdi]
cmp dword [0x140017cd0], ecx
jle 0x140006e74
lea rcx, [0x140017cd0]
call fcn.140009b40
cmp dword [0x140017cd0], 0xffffffff
jne 0x140006e74
lea rcx, [0x14000c928]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140017cc0], rax
lea rcx, [0x140017cd0]
call fcn.140009ad4
mov rcx, qword [0x140017bc0]
mov rdx, rbx
call fcn.1400021a0
mov rax, qword [0x140017cc0]
mov rdx, rsi
mov rcx, r15
call rax
mov ebx, eax
mov rcx, qword [0x140017bc0]
call fcn.1400023a0
lea rdx, str._Debug__Entry_returned:_0x
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400088a0
lea rdx, [0x1400049e0]
mov rcx, rax
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 edx, ebx
mov rcx, rax
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]
lea rdx, [0x140008a80]
mov rcx, rax
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 [rbp - 0x11]
mov esi, dword [rax + 0x54]
mov eax, r12d
mov ecx, dword [rax + rdi]
cmp dword [0x140017bf8], ecx
jle 0x140006f2a
lea rcx, [0x140017bf8]
call fcn.140009b40
cmp dword [0x140017bf8], 0xffffffff
jne 0x140006f2a
xor r8d, r8d
lea rdx, str.RtlZeroMemory
call fcn.140001a40
mov qword [0x140017be0], rax
lea rcx, [0x140017bf8]
call fcn.140009ad4
mov rbx, qword [0x140017be0]
mov eax, r12d
mov r8d, dword [rax + rdi]
cmp dword [0x140017ca8], r8d
jle 0x140006f86
lea rcx, [0x140017ca8]
call fcn.140009b40
cmp dword [0x140017ca8], 0xffffffff
jne 0x140006f86
lea rcx, [0x14000c928]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140017be8], rax
lea rcx, [0x140017ca8]
call fcn.140009ad4
mov rcx, qword [0x140017bc0]
mov rdx, rbx
call fcn.1400021a0
mov rdx, rsi
mov rcx, r15
call qword [0x140017be8]
mov rcx, qword [0x140017bc0]
call fcn.1400023a0
mov bl, 1
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x140006ff1
mov rdx, qword [rbp - 0x21]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006fe0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007022
call fcn.140009a64
mov qword [rbp - 0x31], r13
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x29], xmm0
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x14000703a
mov rdx, qword [rbp - 0x39]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007029
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007029
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009a64
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], r13
mov rcx, qword [rbp + 0xf]
test rcx, rcx
je 0x140007070
mov rdx, qword [rbp + 0x1f]
sub rdx, rcx
mov r8, rcx
cmp rdx, 0x1000
jb 0x14000706b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub r8, rcx
add r8, 0xfffffffffffffff8
cmp r8, 0x1f
ja 0x1400070a0
call fcn.140009a64
movzx eax, bl
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140009a00
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400015e0
nop
call fcn.1400019c0
int3