Function at 0x1400813a0
Capabilities:
Get system firmware table

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rdi, rcx
mov dword [rbp + 0x98], 1
xor r14d, r14d
mov qword [rcx], r14
mov qword [rcx + 8], r14
mov qword [rcx + 0x10], r14
mov dword [rbp + 0x98], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0x52534d42
call qword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
mov ebx, eax
test eax, eax
je 0x140081820
mov ecx, ebx
call fcn.140084fd8
mov rsi, rax
mov r9d, ebx
mov r8, rax
xor edx, edx
mov ecx, 0x52534d42
call qword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
test eax, eax
je 0x140081817
lea rbx, [rsi + 8]
mov edx, dword [rsi + 4]
add rdx, rbx
cmp rbx, rdx
jae 0x140081817
cmp byte [rbx], 4
je 0x140081466
movzx eax, byte [rbx + 1]
add rax, rbx
cmp rax, rdx
jae 0x140081458
lea rcx, [rax + 1]
cmp byte [rax], 0
jne 0x140081450
cmp byte [rcx], 0
je 0x140081458
mov rax, rcx
cmp rcx, rdx
jb 0x140081442
lea rbx, [rax + 2]
cmp rbx, rdx
jb 0x140081431
jmp 0x140081817
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], 0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x40], 0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x60], 0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x80], 0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x60], 0
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Error_or_No_Value
lea rcx, [rsp + 0x20]
call fcn.1400380d0
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Error_or_No_Value
lea rcx, [rsp + 0x40]
call fcn.1400380d0
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Error_or_No_Value
lea rcx, [rsp + 0x60]
call fcn.1400380d0
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Error_or_No_Value
lea rcx, [rbp - 0x80]
call fcn.1400380d0
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Error_or_No_Value
lea rcx, [rbp - 0x60]
call fcn.1400380d0
movzx edx, byte [rbx + 1]
add rdx, rbx
movzx r8d, byte [rbx + 7]
lea rcx, [rbp + 0x40]
call fcn.140081ca0
nop
mov r8, qword [rbp + 0x50]
test r8, r8
je 0x140081581
lea rdx, [rbp + 0x40]
cmp qword [rbp + 0x58], 0xf
cmova rdx, qword [rbp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.1400380d0
movzx edx, byte [rbx + 1]
add rdx, rbx
movzx r8d, byte [rbx + 0x10]
lea rcx, [rbp + 0x20]
call fcn.140081ca0
nop
mov r8, qword [rbp + 0x30]
test r8, r8
je 0x1400815b8
lea rdx, [rbp + 0x20]
cmp qword [rbp + 0x38], 0xf
cmova rdx, qword [rbp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.1400380d0
movzx edx, byte [rbx + 1]
add rdx, rbx
movzx r8d, byte [rbx + 0x20]
lea rcx, [rbp]
call fcn.140081ca0
nop
mov r8, qword [rbp + 0x10]
test r8, r8
je 0x1400815ef
lea rdx, [rbp]
cmp qword [rbp + 0x18], 0xf
cmova rdx, qword [rbp]
lea rcx, [rsp + 0x60]
call fcn.1400380d0
movzx edx, byte [rbx + 1]
add rdx, rbx
movzx r8d, byte [rbx + 4]
lea rcx, [rbp - 0x20]
call fcn.140081ca0
nop
mov r8, qword [rbp - 0x10]
test r8, r8
je 0x140081625
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova rdx, qword [rbp - 0x20]
lea rcx, [rbp - 0x80]
call fcn.1400380d0
movzx edx, byte [rbx + 1]
add rdx, rbx
movzx r8d, byte [rbx + 0x22]
lea rcx, [rbp - 0x40]
call fcn.140081ca0
nop
mov r8, qword [rbp - 0x30]
test r8, r8
je 0x14008165b
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x60]
call fcn.1400380d0
mov rbx, qword [rdi + 8]
cmp rbx, qword [rdi + 0x10]
je 0x1400816c1
mov qword [rbp + 0xa0], rbx
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14003a900
nop
lea rcx, [rbx + 0x20]
lea rdx, [rsp + 0x40]
call fcn.14003a900
nop
lea rcx, [rbx + 0x40]
lea rdx, [rsp + 0x60]
call fcn.14003a900
nop
lea rcx, [rbx + 0x60]
lea rdx, [rbp - 0x80]
call fcn.14003a900
nop
lea rcx, [rbx + 0x80]
lea rdx, [rbp - 0x60]
call fcn.14003a900
nop
add qword [rdi + 8], 0xa0
jmp 0x1400816d2
lea r8, [rsp + 0x20]
mov rdx, rbx
mov rcx, rdi
call fcn.140081840
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140081711
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008170b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008170b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140084f34
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x140081750
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008174a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008174a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140084f34
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 0xf
jbe 0x14008178f
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140081789
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140081789
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140084f34
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, 0xf
jbe 0x1400817ce
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400817c8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400817c8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140084f34
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x14008180d
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140081807
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140081807
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140084f34
nop
lea rcx, [rsp + 0x20]
call fcn.140037df0
mov rcx, rsi
call fcn.140084f34
nop
mov rax, rdi
add rsp, 0x160
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret