Function at 0x140003c60
Capabilities:
Get system firmware table

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x14000c008]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x54455048
mov ecx, 0x41435049
call qword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8d, edi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
jne 0x140003cdf
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov al, 1
jmp 0x140003ee0
mov r9d, edi
mov r8, rbx
mov edx, 0x54455048
mov ecx, 0x41435049
call qword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
cmp eax, edi
je 0x140003d14
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov al, 1
jmp 0x140003ee0
mov edx, eax
lea rsi, [rdx + rbx]
xor edi, edi
mov qword [rbp - 0x40], rdi
mov ecx, edi
mov qword [rbp - 0x30], rcx
mov r8d, 0xf
mov qword [rbp - 0x28], r8
cmp rdx, r8
jbe 0x140003d48
lea rcx, [rbp - 0x40]
call fcn.1400056e0
mov ecx, edi
mov qword [rbp - 0x30], rcx
mov r8, qword [rbp - 0x28]
lea rax, [rbp - 0x40]
mov qword [rbp - 0x58], rax
cmp rbx, rsi
je 0x140003d99
movzx r9d, byte [rbx]
cmp rcx, r8
jae 0x140003d7e
lea rax, [rcx + 1]
mov qword [rbp - 0x30], rax
lea rax, [rbp - 0x40]
cmp r8, 0x10
cmovae rax, qword [rbp - 0x40]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140003d87
lea rcx, [rbp - 0x40]
call fcn.1400059f0
inc rbx
cmp rbx, rsi
je 0x140003d99
mov r8, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
jmp 0x140003d55
mov qword [rbp - 0x58], rdi
movabs rax, 0xdf1ad74063c0c035
mov qword [rbp - 0x58], rax
mov rax, qword [rbp - 0x58]
mov qword [rbp - 0x50], rax
movabs rcx, 0xfecb4ed7940d32d4
mov qword [rbp - 0x58], rcx
mov rax, qword [rbp - 0x58]
mov qword [rbp - 0x48], rax
movabs rax, 0xdf1a921222978d63
mov qword [rbp - 0x58], rax
mov rax, qword [rbp - 0x58]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x58], rcx
mov rax, qword [rbp - 0x58]
mov qword [rbp - 0x18], rax
movdqa xmm0, xmmword [rbp - 0x50]
pxor xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp - 0x50], xmm0
lea rax, [rbp - 0x50]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x140003e05
lea r14, [rbp - 0x40]
mov r13, qword [rbp - 0x28]
cmp r13, 0x10
setae byte [rbp - 0x60]
mov rsi, qword [rbp - 0x40]
cmovae r14, rsi
mov rax, qword [rbp - 0x30]
cmp rbx, rax
ja 0x140003e90
sub rax, rbx
test rbx, rbx
je 0x140003e97
lea r15, [rax + r14]
movsx r12d, byte [rbp - 0x50]
lea r8, [r15 + 1]
sub r8, r14
mov edx, r12d
mov rcx, r14
call sub.VCRUNTIME140.dll_memchr
mov rdi, rax
test rax, rax
je 0x140003e90
nop word [rax + rax]
mov r8, rbx
lea rdx, [rbp - 0x50]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140003ed0
inc rdi
lea r8, [r15 + 1]
sub r8, rdi
mov edx, r12d
mov rcx, rdi
call sub.VCRUNTIME140.dll_memchr
mov rdi, rax
test rax, rax
jne 0x140003e60
mov rdi, 0xffffffffffffffff
cmp rdi, 0xffffffffffffffff
setne bl
cmp byte [rbp - 0x60], 0
je 0x140003edd
lea rdx, [r13 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140003ed5
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003ed5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rdi, r14
jmp 0x140003e97
mov rcx, rsi
call fcn.140006c94
movzx eax, bl
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400069e0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret