Function at 0x14005fdf0
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 [0x14018a240]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
call fcn.1400ea3e0
mov rdx, rax
xorps xmm6, xmm6
test rax, rax
js 0x14005fe3b
cvtsi2sd xmm6, rax
jmp 0x14005fe4d
shr rax, 1
and edx, 1
or rax, rdx
cvtsi2sd xmm6, rax
addsd xmm6, xmm6
call fcn.1400ea430
mov rcx, rax
xorps xmm3, xmm3
test rax, rax
js 0x14005fe64
cvtsi2sd xmm3, rax
jmp 0x14005fe76
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 0x14005fe97
movaps xmm1, xmm2
divsd xmm1, xmm3
mulsd xmm1, qword [0x140171160]
jmp 0x14005fe9f
movsd xmm1, qword [0x140171160]
mulsd xmm3, qword [0x140171110]
mulsd xmm2, qword [0x140171110]
movsd qword [rsp + 0x20], xmm1
movq r9, xmm3
movq r8, xmm2
lea rdx, str.MEMORY
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.1400236f0
mov rax, qword [rbx + 0xd8]
cmp byte [rax + 0xa8], 0
je 0x140060192
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 0x140060161
mov r9d, edi
mov r8, rax
xor edx, edx
mov ecx, 0x52534d42
call qword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
cmp eax, edi
je 0x14005ff86
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x140060161
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_b1841b2b3d7edfd58a8a013d8118f4e5___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.140063460
movzx ebx, al
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x14005ffef
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 0x140060161
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 0x1400600dc
add rbx, 0x6a
lea r14, str.Other
movabs r15, 0x431bde82d7b634db
cmp qword [rbx - 0x32], 0
je 0x1400600cb
mov r9, qword [rbx - 0x12]
test r9, r9
je 0x1400600a5
movzx ecx, byte [rbx]
lea eax, [rcx - 1]
cmp al, 0x22
ja 0x14006005a
mov rcx, qword [r14 + rcx*8 - 8]
jmp 0x140060061
mov rcx, qword [str.Unknown]
mov r8, qword [rbx - 0x5a]
test r8, r8
jne 0x14006006e
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, [0x14016a4f5]
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.1400236f0
jmp 0x1400600cb
cmp rdi, 8
ja 0x1400600cb
mov r8, qword [rbx - 0x5a]
test r8, r8
jne 0x1400600b8
mov r8, qword [rbx - 0x3a]
lea rdx, [0x14016a4f5]
lea rcx, str.e_1_37m_____13se_0m_s:_e_1_30m_empty_e_0m
call fcn.1400236f0
add rbx, 0x70
lea rax, [rbx - 0x6a]
cmp rax, rsi
jne 0x140060035
mov rcx, qword [0x14041c628]
test rcx, rcx
jne 0x140060108
mov ecx, 0x110
call fcn.140116050
mov qword [rbp - 0x60], rax
mov rcx, rax
call fcn.140054f20
mov rcx, rax
mov qword [0x14041c628], 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 0x140060161
mov rax, qword [rsp + 0x78]
test dl, dl
cmove rax, qword [rsp + 0x58]
test rax, rax
je 0x140060161
mov r8, qword [rsp + 0x70]
test dl, dl
cmove r8, qword [rsp + 0x50]
lea rdx, str.MOTHERBOARD
lea rcx, str.e_1_32m__e_0me_1_37m__13se_0me_1_37m_se_0m___e_1_37m_se_0m
call fcn.1400236f0
nop
lea rcx, [rbp - 0x80]
call fcn.140060480
mov rcx, qword [rsp + 0x70]
call fcn.14011608c
mov rcx, qword [rsp + 0x60]
call fcn.14011608c
mov rcx, qword [rsp + 0x50]
call fcn.14011608c
mov rcx, qword [rsp + 0x40]
call fcn.14011608c
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140116030
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