Function at 0x18000f980
Capabilities:
Get system firmware table

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x90
mov byte [rsp + 0x24], 0x42
mov byte [rsp + 0x25], 0x4d
mov byte [rsp + 0x26], 0x53
mov byte [rsp + 0x27], 0x52
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x48], eax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, dword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
mov dword [rsp + 0x28], eax
mov ecx, 7
call fcn.180012810
mov byte [rsp + 0x20], 0
mov byte [rsp + 0x21], 0
cmp dword [rsp + 0x28], 0
jne 0x18000f9e9
jmp 0x18000fc5b
mov eax, dword [rsp + 0x28]
inc eax
mov eax, eax
mov ecx, eax
call fcn.1800fb270
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x18000fa0a
jmp 0x18000fc5b
mov eax, dword [rsp + 0x28]
inc eax
mov eax, eax
mov qword [rsp + 0x70], rax
mov rdi, qword [rsp + 0x40]
xor eax, eax
mov rcx, qword [rsp + 0x70]
rep stosb byte [rdi], al
mov r9d, dword [rsp + 0x28]
mov r8, qword [rsp + 0x40]
xor edx, edx
mov ecx, dword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
test eax, eax
jne 0x18000fa4e
mov rcx, qword [rsp + 0x40]
call fcn.1800fb268
jmp 0x18000fc5b
mov ecx, 8
call fcn.180012810
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
add rax, 8
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 4]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax]
mov byte [rsp + 0x4c], al
cmp byte [rsp + 0x4c], 0
je 0x18000fab8
cmp byte [rsp + 0x4c], 2
je 0x18000fb42
jmp 0x18000fba5
mov ecx, 9
call fcn.180012810
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x38]
call fcn.180013b00
mov qword [rsp + 0x68], rax
mov ecx, 0xa
call fcn.180012810
mov r9d, 0x21
mov r8, qword [rsp + 0xa0]
mov rax, qword [rsp + 0x60]
movzx edx, byte [rax + 4]
mov rcx, qword [rsp + 0x68]
call fcn.1800126e0
mov ecx, 0xb
call fcn.180012810
mov r9d, 0x21
mov r8, qword [rsp + 0xa8]
mov rax, qword [rsp + 0x60]
movzx edx, byte [rax + 5]
mov rcx, qword [rsp + 0x68]
call fcn.1800126e0
mov byte [rsp + 0x20], 1
mov ecx, 0xc
call fcn.180012810
jmp 0x18000fba5
mov ecx, 0xd
call fcn.180012810
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x38]
call fcn.180013b00
mov qword [rsp + 0x80], rax
mov ecx, 0xe
call fcn.180012810
mov r9d, 0x21
mov r8, qword [rsp + 0xb0]
mov rax, qword [rsp + 0x78]
movzx edx, byte [rax + 7]
mov rcx, qword [rsp + 0x80]
call fcn.1800126e0
mov ecx, 0xf
call fcn.180012810
mov byte [rsp + 0x21], 1
mov ecx, 0x10
call fcn.180012810
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x18000fbc6
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x18000fbc6
jmp 0x18000fc47
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 1]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x30]
movzx ecx, byte [rcx + 1]
or eax, ecx
test eax, eax
je 0x18000fc05
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
jmp 0x18000fbdf
mov ecx, 0x11
call fcn.180012810
mov rax, qword [rsp + 0x30]
add rax, 2
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x30], rax
jb 0x18000fc2e
jmp 0x18000fc47
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov ecx, 0x12
call fcn.180012810
jmp 0x18000fa8b
mov rcx, qword [rsp + 0x40]
call fcn.1800fb268
mov ecx, 0x13
call fcn.180012810
add rsp, 0x90
pop rdi
ret