Function at 0x140006748
Capabilities:
Get system firmware table

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
push r12
push r13
sub rsp, 0x40
xor edi, edi
mov ebx, ecx
lea rdx, [0x1400164c0]
lea r12d, [rdi + 2]
lea r8d, [rdi + 0x5b]
mov ebp, edi
mov ecx, r12d
mov dword [rax + 8], edi
call fcn.140006d50
lea r13d, [rdi + 1]
cmp ebx, r13d
je 0x1400067a1
lea r8d, [rdi + 0x56]
lea rdx, [0x140016460]
mov ecx, r12d
call fcn.140006d50
jmp 0x1400069c4
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0x52534d42
call qword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
mov ebx, eax
test eax, eax
jne 0x1400067cc
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [0x140016428]
jmp 0x1400069b9
lea r8d, [rbx - 8]
lea rdx, [0x1400163f8]
mov ecx, r13d
call fcn.140006c10
mov rdx, rbx
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
test rax, rax
jne 0x140006807
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [0x1400163d0]
jmp 0x1400069b9
mov r9d, ebx
mov r8, rax
xor edx, edx
mov ecx, 0x52534d42
call qword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
cmp eax, ebx
jbe 0x140006838
lea rdx, [0x1400163a8]
mov r8d, 0x25
mov ecx, r12d
call fcn.140006d50
jmp 0x14000699e
movzx edx, byte [rsi + 3]
mov eax, dword [rsi + 4]
movzx r9d, byte [rsi + 2]
movzx r8d, byte [rsi + 1]
mov ecx, edx
shr edx, 4
and ecx, 0xf
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
lea rdx, [0x140016360]
mov ecx, r13d
call fcn.140006c10
mov edx, dword [rsi + 4]
xor r9d, r9d
lea rax, [rsp + 0x60]
lea r8d, [r9 + 0xb]
lea rcx, [rsi + 8]
mov qword [rsp + 0x20], rax
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
test eax, eax
jne 0x1400068a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [0x140016328]
jmp 0x140006959
mov edx, dword [rsp + 0x60]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
jne 0x1400068c9
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [0x1400163d0]
jmp 0x140006959
mov edx, dword [rsi + 4]
lea rax, [rsp + 0x60]
lea rcx, [rsi + 8]
mov r9, rbx
mov r8d, 0xb
mov qword [rsp + 0x20], rax
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
test eax, eax
jne 0x140006907
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [0x140016328]
mov ecx, r12d
mov r8d, eax
call fcn.140006c10
jmp 0x14000693e
lea rdx, [0x140016308]
mov r8d, 0x19
mov ecx, r13d
call fcn.140006d50
mov r8d, dword [rsp + 0x60]
mov rdx, rbx
mov ecx, r13d
call fcn.140006d50
lea rdx, [0x14001292c]
mov r8d, r12d
mov ecx, r13d
call fcn.140006d50
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rax, rax
je 0x140006964
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [0x1400162e0]
mov r8d, eax
mov ecx, r12d
call fcn.140006c10
lea rdx, [0x1400162c0]
mov r8d, 0x1b
mov ecx, r13d
call fcn.140006d50
movzx r8d, byte [rsi + 1]
mov edx, dword [rsi + 4]
mov eax, pe_nt_image_headers64
lea rcx, [rsi + 8]
imul r8w, ax
movzx eax, byte [rsi + 2]
add r8w, ax
call section..code
mov ebp, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rax, rax
je 0x1400069c4
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [0x1400162e0]
mov r8d, eax
mov ecx, r12d
call fcn.140006c10
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x78]
test ebp, ebp
mov rbp, qword [rsp + 0x70]
sete dil
mov eax, edi
add rsp, 0x40
pop r13
pop r12
pop rdi
ret