Function at 0x140096330
Capabilities:
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 - 0x50]
sub rsp, 0x150
mov rax, qword [0x1402a7978]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov rsi, rcx
mov qword [rsp + 0x38], rcx
xor r15d, r15d
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
mov qword [rsp + 0x68], r15
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0x52534d42
call qword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
mov edi, eax
test eax, eax
je 0x140096421
mov byte [rsp + 0x30], r15b
mov ebx, edi
mov r14, qword [rsp + 0x60]
mov rcx, r14
mov r8, qword [rsp + 0x58]
sub rcx, r8
cmp rdi, rcx
jae 0x1400963b6
lea rax, [rdi + r8]
jmp 0x1400963f7
jbe 0x1400963fc
mov rax, qword [rsp + 0x68]
sub rax, r8
cmp rbx, rax
jbe 0x1400963de
lea r8, [rsp + 0x30]
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.14000d780
mov r8, qword [rsp + 0x58]
jmp 0x1400963fc
sub rbx, rcx
mov r8, rbx
xor edx, edx
mov rcx, r14
call fcn.140159420
lea rax, [rbx + r14]
mov r8, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov r9d, edi
xor edx, edx
mov ecx, 0x52534d42
call qword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
cmp edi, eax
je 0x140096421
mov rax, qword [rsp + 0x58]
cmp rax, qword [rsp + 0x60]
je 0x140096421
mov qword [rsp + 0x60], rax
mov byte [rsp + 0x70], 0
xor edx, edx
lea rcx, [rsp + 0x78]
call fcn.1400096e0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
xor eax, eax
mov dword [rbp + 0x34], eax
mov rcx, qword [rsp + 0x58]
lea rax, [rcx + 0x20]
mov qword [rbp - 0x80], rax
movzx edx, byte [rcx + 1]
shl edx, 8
movzx eax, byte [rcx + 2]
or edx, eax
lea r8, [rcx + 8]
mov qword [rbp - 0x80], r8
mov eax, dword [rcx + 4]
mov qword [rbp - 0x78], rax
mov dword [rbp + 0x30], 0x300
cmp edx, 0x300
jae 0x1400964b3
mov dword [rbp + 0x30], edx
lea eax, [rdx - 0x200]
cmp eax, 8
jbe 0x1400964b3
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x20], r15
mov qword [rbp - 0x80], r15
jmp 0x1400964fe
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x20], r15
test r8, r8
je 0x1400964fe
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x38]
call fcn.140007440
mov r8, rax
movzx ecx, byte [rsp + 0x70]
movzx eax, byte [rax]
mov byte [rsp + 0x70], al
mov byte [r8], cl
lea rcx, [r8 + 8]
mov rax, qword [rsp + 0x78]
mov rdx, qword [rcx]
mov qword [rsp + 0x78], rdx
mov qword [rcx], rax
movzx edx, byte [r8]
call fcn.140009270
nop
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x70]
call fcn.140060990
nop
mov rdx, rax
call fcn.140062600
nop
lea rcx, [rsp + 0x38]
call fcn.140009c80
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x70]
call fcn.140060990
mov rdi, rax
mov byte [rsi], 0
xor eax, eax
mov qword [rsi + 8], rax
movzx edx, byte [rsi]
lea rcx, [rsi + 8]
call fcn.140009270
mov byte [rsi], 3
mov ecx, 0x20
call fcn.140156530
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r15
movups xmm0, xmmword [rdi]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rax + 0x10], xmm1
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], select
mov byte [rdi], 0
mov qword [rsi + 8], rax
lea rcx, [rsp + 0x38]
call fcn.140009c80
nop
movzx edx, byte [rsp + 0x70]
lea rcx, [rsp + 0x78]
call fcn.140009270
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400965d7
mov rdx, qword [rsp + 0x68]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400965d2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140096603
call fcn.14015656c
mov rax, rsi
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.140156510
lea r11, [rsp + 0x150]
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
call fcn.140165b04
int3