Function at 0x140068770
Capabilities:
Get system firmware table

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x28]
sub rsp, 0x110
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x14042a140]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
call fcn.1402ba290
mov rdx, rax
xorps xmm6, xmm6
test rax, rax
js 0x1400687bb
cvtsi2sd xmm6, rax
jmp 0x1400687cd
shr rax, 1
and edx, 1
or rax, rdx
cvtsi2sd xmm6, rax
addsd xmm6, xmm6
call fcn.1402ba2e0
mov rcx, rax
xorps xmm3, xmm3
test rax, rax
js 0x1400687e4
cvtsi2sd xmm3, rax
jmp 0x1400687f6
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm3, rax
addsd xmm3, xmm3
movaps xmm2, xmm3
subsd xmm2, xmm6
xorps xmm0, xmm0
comisd xmm6, xmm0
jbe 0x140068817
movaps xmm1, xmm2
divsd xmm1, xmm3
mulsd xmm1, qword [0x1403f3770]
jmp 0x14006881f
movsd xmm1, qword [0x1403f3770]
mulsd xmm3, qword [0x1403f3720]
mulsd xmm2, qword [0x1403f3720]
movsd qword [rsp + 0x20], xmm1
movq r9, xmm3
movq r8, xmm2
lea rdx, str.AGUA
lea rcx, str.e_1_32m__e_0me_1_37m__13se_0me_1_36m_.1f__.1fe_0me_0_36m_GBe_0me_1_30m___.0f___e_0m
call fcn.140024730
mov rax, qword [rbx + 0x140]
cmp byte [rax + 0xa8], 0
je 0x140068b12
xor esi, esi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rsi
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0x52534d42
call qword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8d, edi
lea edx, [rsi + 8]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x140068ae1
mov r9d, edi
mov r8, rax
xor edx, edx
mov ecx, 0x52534d42
call qword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
cmp eax, edi
je 0x140068906
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x140068ae1
movzx ecx, byte [rbx + 1]
shl ecx, 0x10
movzx eax, byte [rbx + 2]
shl eax, 8
add ecx, eax
movzx eax, byte [rbx + 3]
add ecx, eax
mov dword [rbp - 0x64], ecx
mov eax, dword [rbx + 4]
mov dword [rbp - 0x68], eax
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_edf15e06cf79c3ae8e040b146942a9f2___void___.0
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rbx
lea rax, [rbp - 0x50]
mov qword [rbp - 0x18], rax
lea rdx, [rbx + 8]
lea r8, [rbp - 0x50]
lea rcx, [rsp + 0x40]
call fcn.14006bb10
movzx ebx, al
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x14006896f
mov r8, qword [rcx]
lea rax, [rbp - 0x50]
cmp rcx, rax
setne dl
call qword [r8 + 0x20]
mov qword [rbp - 0x18], rsi
test bl, bl
je 0x140068ae1
mov rsi, qword [rbp - 0x78]
mov rdi, rsi
mov rbx, qword [rbp - 0x80]
sub rdi, rbx
sar rdi, 4
movabs rax, 0x6db6db6db6db6db7
imul rdi, rax
cmp rbx, rsi
je 0x140068a5c
add rbx, 0x6a
lea r14, str.Other
movabs r15, 0x431bde82d7b634db
cmp qword [rbx - 0x32], 0
je 0x140068a4b
mov r9, qword [rbx - 0x12]
test r9, r9
je 0x140068a25
movzx ecx, byte [rbx]
lea eax, [rcx - 1]
cmp al, 0x22
ja 0x1400689da
mov rcx, qword [r14 + rcx*8 - 8]
jmp 0x1400689e1
mov rcx, qword [str.Unknown]
mov r8, qword [rbx - 0x5a]
test r8, r8
jne 0x1400689ee
mov r8, qword [rbx - 0x3a]
mov rax, r15
mul qword [rbx - 0xa]
shr rdx, 0x12
shr r9, 0x1e
mov rax, qword [rbx - 0x4a]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rcx
lea rdx, [0x1403eb6c5]
lea rcx, str.e_1_37m_____13se_0m_s:_e_1_36m_llue_0me_0_36m_GB_e_0me_1_37m_s____llu_MHz_e_0me_1_30m_se_0m
call fcn.140024730
jmp 0x140068a4b
cmp rdi, 8
ja 0x140068a4b
mov r8, qword [rbx - 0x5a]
test r8, r8
jne 0x140068a38
mov r8, qword [rbx - 0x3a]
lea rdx, [0x1403eb6c5]
lea rcx, str.e_1_37m_____13se_0m_s:_e_1_30m_empty_e_0m
call fcn.140024730
add rbx, 0x70
lea rax, [rbx - 0x6a]
cmp rax, rsi
jne 0x1400689b5
mov rcx, qword [0x1406be368]
test rcx, rcx
jne 0x140068a88
mov ecx, 0x110
call fcn.1402e72d0
mov qword [rbp - 0x60], rax
mov rcx, rax
call fcn.14005c4e0
mov rcx, rax
mov qword [0x1406be368], rax
mov rax, qword [rcx]
call qword [rax + 0x60]
movzx edx, al
mov r9, qword [rsp + 0x40]
test al, al
cmovne r9, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
cmove rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140068ae1
mov rax, qword [rsp + 0x78]
test dl, dl
cmove rax, qword [rsp + 0x58]
test rax, rax
je 0x140068ae1
mov r8, qword [rsp + 0x70]
test dl, dl
cmove r8, qword [rsp + 0x50]
lea rdx, str.Welcome
lea rcx, str.e_1_32m__e_0me_1_37m__13se_0me_1_37m_se_0m___e_1_37m_se_0m
call fcn.140024730
nop
lea rcx, [rbp - 0x80]
call fcn.140068e40
mov rcx, qword [rsp + 0x70]
call fcn.1402e730c
mov rcx, qword [rsp + 0x60]
call fcn.1402e730c
mov rcx, qword [rsp + 0x50]
call fcn.1402e730c
mov rcx, qword [rsp + 0x40]
call fcn.1402e730c
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1402e72b0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret