Function at 0x1400018f0
Capabilities:
Get disk information
Get system firmware table

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
mov rax, qword [0x140061028]
xor rax, rsp
mov qword [rbp + 0xd0], rax
mov rsi, rcx
mov qword [rbp - 0x80], rcx
xor r15d, r15d
mov dword [rsp + 0x40], r15d
lea rax, [rbp + 0x90]
mov qword [str.SCOOF_MOMENTO], rax
mov dword [0x140061050], 0x213
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0x52534d42
call qword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
mov edi, eax
lea rax, [rbp + 0x90]
mov qword [str.SCOOF_MOMENTO], rax
cmp dword [0x140061050], 0x213
je 0x1400019ea
mov dword [0x140061050], 0x1dcc497
mov edx, 0x1dcc497
lea rcx, [rbp + 0x90]
call fcn.1400011f0
cmp qword [rax + 0x18], 0x10
jb 0x14000199f
mov rax, qword [rax]
mov qword [str.SCOOF_MOMENTO], rax
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x1400019ea
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400019e5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400019e5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400310b4
mov dword [0x140061050], 0x213
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r14, rax
lea rax, [rbp + 0x90]
mov qword [str.SCOOF_MOMENTO], rax
cmp dword [0x140061050], 0x213
je 0x140001a95
mov dword [0x140061050], 0x1dcc497
mov edx, 0x1dcc497
lea rcx, [rbp + 0x90]
call fcn.1400011f0
cmp qword [rax + 0x18], 0x10
jb 0x140001a4a
mov rax, qword [rax]
mov qword [str.SCOOF_MOMENTO], rax
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x140001a95
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001a90
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001a90
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400310b4
mov dword [0x140061050], 0x213
test r14, r14
je 0x1400022a7
lea rax, [rbp + 0x90]
mov qword [str.SCOOF_MOMENTO], rax
mov r9d, edi
mov r8, r14
xor edx, edx
mov ecx, 0x52534d42
call qword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
mov ebx, eax
lea rax, [rbp + 0x90]
mov qword [str.SCOOF_MOMENTO], rax
cmp dword [0x140061050], 0x213
je 0x140001b55
mov dword [0x140061050], 0x1dcc497
mov edx, 0x1dcc497
lea rcx, [rbp + 0x90]
call fcn.1400011f0
cmp qword [rax + 0x18], 0x10
jb 0x140001b0a
mov rax, qword [rax]
mov qword [str.SCOOF_MOMENTO], rax
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x140001b55
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001b50
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001b50
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400310b4
mov dword [0x140061050], 0x213
test ebx, ebx
je 0x1400022a7
lea rax, [rbp + 0x90]
mov qword [str.SCOOF_MOMENTO], rax
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp - 0x70]
call fcn.140003250
nop
lea rax, [rbp + 0x90]
mov qword [str.SCOOF_MOMENTO], rax
cmp dword [0x140061050], 0x213
je 0x140001c1a
mov dword [0x140061050], 0x1dcc497
mov edx, 0x1dcc497
lea rcx, [rbp + 0x90]
call fcn.1400011f0
cmp qword [rax + 0x18], 0x10
jb 0x140001bcf
mov rax, qword [rax]
mov qword [str.SCOOF_MOMENTO], rax
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x140001c1a
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001c15
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001c15
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400310b4
mov dword [0x140061050], 0x213
movzx edx, byte [r14 + 0xc]
lea rcx, [rbp - 0x60]
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___int____ptr64]
movzx edx, byte [r14 + 0xd]
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___int____ptr64]
movzx edx, byte [r14 + 0x10]
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___int____ptr64]
lea rax, [rbp + 0x90]
mov qword [str.SCOOF_MOMENTO], rax
cmp dword [0x140061050], 0x213
je 0x140001cd9
mov dword [0x140061050], 0x1dcc497
mov edx, 0x1dcc497
lea rcx, [rbp + 0x90]
call fcn.1400011f0
cmp qword [rax + 0x18], 0x10
jb 0x140001c8e
mov rax, qword [rax]
mov qword [str.SCOOF_MOMENTO], rax
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x140001cd9
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001cd4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001cd4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400310b4
mov dword [0x140061050], 0x213
lea rcx, [rsp + 0x50]
call fcn.140002340
nop
xorps xmm0, xmm0
cmp byte [rax + 0x20], 0
mov qword [rbp + 0xa0], r15
mov qword [rbp + 0xa8], r15
movups xmmword [rbp + 0x90], xmm0
je 0x140001d32
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x90], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xa0], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
jmp 0x140001d49
xor r8d, r8d
lea rdx, [0x140051be6]
lea rcx, [rbp + 0x90]
call fcn.140003630
nop
lea rdx, [rbp + 0x90]
cmp qword [rbp + 0xa8], 0x10
cmovae rdx, qword [rbp + 0x90]
mov r8, qword [rbp + 0xa0]
lea rcx, [rbp - 0x60]
call fcn.140003870
nop
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x140001db5
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001db0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001db0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400310b4
mov qword [rbp + 0xa0], r15
mov qword [rbp + 0xa8], 0xf
mov byte [rbp + 0x90], 0
lea rcx, [rsp + 0x50]
call fcn.140003310
lea rax, [rbp + 0x90]
mov qword [str.SCOOF_MOMENTO], rax
cmp dword [0x140061050], 0x213
je 0x140001e62
mov dword [0x140061050], 0x1dcc497
mov edx, 0x1dcc497
lea rcx, [rbp + 0x90]
call fcn.1400011f0
cmp qword [rax + 0x18], 0x10
jb 0x140001e17
mov rax, qword [rax]
mov qword [str.SCOOF_MOMENTO], rax
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x140001e62
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001e5d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001e5d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400310b4
mov dword [rbp - 0x80], r15d
lea rax, [rbp + 0x90]
mov qword [str.SCOOF_MOMENTO], rax
mov dword [0x140061050], 0x213
movabs rax, 0x7f32375448ef8a44
mov qword [rsp + 0x50], rax
movabs rcx, 0x8dfb9575936931e4
mov qword [rsp + 0x58], rcx
movabs rax, 0x7f32375467c0b007
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rcx
movdqa xmm0, xmmword [rsp + 0x50]
xorps xmm0, xmmword [rbp + 0x90]
movdqa xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x80]
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x140001f8d
lea rax, [rbp + 0x90]
mov qword [str.SCOOF_MOMENTO], rax
cmp dword [0x140061050], 0x213
je 0x140001f81
mov dword [0x140061050], 0x1dcc497
mov edx, 0x1dcc497
lea rcx, [rbp + 0x90]
call fcn.1400011f0
cmp qword [rax + 0x18], 0x10
jb 0x140001f36
mov rax, qword [rax]
mov qword [str.SCOOF_MOMENTO], rax
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x140001f81
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001f7c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001f7c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400310b4
mov dword [0x140061050], 0x213
mov al, 1
mov ecx, dword [rbp - 0x80]
mov edx, r15d
test al, al
cmovne edx, ecx
lea rcx, [rbp - 0x60]
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 rax, [rbp + 0x90]
mov qword [str.SCOOF_MOMENTO], rax
cmp dword [0x140061050], 0x213
je 0x14000202c
mov dword [0x140061050], 0x1dcc497
mov edx, 0x1dcc497
lea rcx, [rbp + 0x90]
call fcn.1400011f0
cmp qword [rax + 0x18], 0x10
jb 0x140001fe1
mov rax, qword [rax]
mov qword [str.SCOOF_MOMENTO], rax
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x14000202c
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002027
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002027
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400310b4
mov dword [0x140061050], 0x213
call fcn.140002ac0
movzx edx, ax
lea rcx, [rbp - 0x60]
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___int____ptr64]
lea rax, [rbp + 0x90]
mov qword [str.SCOOF_MOMENTO], rax
cmp dword [0x140061050], 0x213
je 0x1400020d2
mov dword [0x140061050], 0x1dcc497
mov edx, 0x1dcc497
lea rcx, [rbp + 0x90]
call fcn.1400011f0
cmp qword [rax + 0x18], 0x10
jb 0x140002087
mov rax, qword [rax]
mov qword [str.SCOOF_MOMENTO], rax
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x1400020d2
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400020cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400020cd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400310b4
mov dword [0x140061050], 0x213
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, r14
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rax, [rbp + 0x90]
mov qword [str.SCOOF_MOMENTO], rax
cmp dword [0x140061050], 0x213
je 0x14000217a
mov dword [0x140061050], 0x1dcc497
mov edx, 0x1dcc497
lea rcx, [rbp + 0x90]
call fcn.1400011f0
cmp qword [rax + 0x18], 0x10
jb 0x14000212f
mov rax, qword [rax]
mov qword [str.SCOOF_MOMENTO], rax
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x14000217a
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002175
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002175
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400310b4
mov dword [0x140061050], 0x213
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
mov dword [rsp + 0x40], 0xc
movups xmmword [rbp + 0x90], xmm0
mov ecx, dword [rbp + 0x18]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x1400021dd
mov rax, qword [rbp - 0x18]
mov rbx, qword [rax]
test rbx, rbx
je 0x1400021dd
mov rax, qword [rbp - 0x38]
mov r9, qword [rax]
cmp rbx, qword [rbp + 0x10]
cmovb rbx, qword [rbp + 0x10]
sub rbx, r9
mov rax, rbx
jmp 0x14000221b
mov rax, r15
test cl, 4
jne 0x14000220d
mov rax, qword [rbp - 0x20]
mov rcx, qword [rax]
mov rax, r15
test rcx, rcx
je 0x14000220d
mov rax, qword [rbp - 0x40]
mov r9, qword [rax]
mov rax, qword [rbp - 8]
movsxd rbx, dword [rax]
add rbx, rcx
sub rbx, r9
mov rax, rbx
jmp 0x14000221b
mov rbx, qword [rbp + 0x98]
mov r9, qword [rbp + 0x90]
test r9, r9
je 0x14000224b
lea rcx, [rsp + 0x50]
cmp rax, 0xf
ja 0x140002242
mov qword [rsp + 0x60], rbx
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rsp + rbx + 0x50], 0
jmp 0x14000224b
mov rdx, rbx
call fcn.140003730
nop
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rsi + 0x10], xmm1
mov byte [rsi + 0x20], 1
mov rcx, qword [rbp - 0x70]
movsxd rdx, dword [rcx + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rdx - 0x70], rax
mov rcx, qword [rbp - 0x70]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0x98]
mov dword [rbp + rdx - 0x74], r8d
lea rcx, [rbp - 0x58]
call fcn.140003190
lea rcx, [rbp - 0x50]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x28]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
jmp 0x1400022ab
mov byte [rsi + 0x20], r15b
mov rax, rsi
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.140031050
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret