Function at 0x140082820
Capabilities:
Get system firmware table

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov r14, rcx
mov dword [rbp + 0x58], 1
xor r15d, r15d
mov qword [rcx], r15
mov qword [rcx + 8], r15
mov qword [rcx + 0x10], r15
mov dword [rbp + 0x58], 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x40], r15b
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x60], r15b
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x80], r15b
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x60], r15b
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x40], r15b
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x20], r15b
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
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Error_or_No_Value
lea rcx, [rbp - 0x40]
call fcn.1400380d0
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Error_or_No_Value
lea rcx, [rbp - 0x20]
call fcn.1400380d0
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 0x140082a05
mov esi, ebx
xorps xmm0, xmm0
movdqu xmmword [rbp], xmm0
mov qword [rbp + 0x10], r15
mov edx, ebx
lea rcx, [rbp]
call fcn.14006e850
mov r8d, ebx
xor edx, edx
mov rdi, qword [rbp]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
lea rax, [rbx + rdi]
mov qword [rbp + 8], rax
mov r9d, ebx
mov r8, rdi
xor edx, edx
mov ecx, 0x52534d42
call qword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
test eax, eax
jne 0x140082a2a
test rdi, rdi
je 0x140082a05
mov rdx, qword [rbp + 0x10]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400829fc
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008309e
mov rcx, rdi
call fcn.140084f34
nop
lea rcx, [rsp + 0x40]
call fcn.1400678a0
nop
mov rax, r14
mov rbx, qword [rsp + 0x168]
add rsp, 0x120
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rbx, rdi
lea rdx, [rdi + rsi]
cmp rdi, rdx
jae 0x140082fe1
nop word [rax + rax]
cmp byte [rbx], 1
je 0x140082a75
movzx eax, byte [rbx + 1]
add rax, rbx
cmp rax, rdx
jae 0x140082a67
lea rcx, [rax + 1]
cmp byte [rax], 0
jne 0x140082a5f
cmp byte [rcx], 0
je 0x140082a67
mov rax, rcx
cmp rcx, rdx
jb 0x140082a51
lea rbx, [rax + 2]
cmp rbx, rdx
jb 0x140082a40
jmp 0x140082fe1
movzx edx, byte [rbx + 1]
add rdx, rbx
movzx r8d, byte [rbx + 4]
lea rcx, [rsp + 0x20]
call fcn.140081ca0
mov rsi, rax
lea rax, [rsp + 0x40]
cmp rax, rsi
je 0x140082b04
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140082ad1
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140082acc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140082b38
call fcn.140084f34
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x40], 0
movups xmm0, xmmword [rsi]
movaps xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rsp + 0x50], xmm1
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x140082b44
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140082b3f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140082b3f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140084f34
cmp qword [rsp + 0x50], 0
jne 0x140082b63
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Error_or_No_Value
lea rcx, [rsp + 0x40]
call fcn.1400380d0
movzx edx, byte [rbx + 1]
add rdx, rbx
movzx r8d, byte [rbx + 5]
lea rcx, [rsp + 0x20]
call fcn.140081ca0
mov rsi, rax
lea rax, [rsp + 0x60]
cmp rax, rsi
je 0x140082bf2
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140082bbf
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140082bba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140082c26
call fcn.140084f34
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x60], 0
movups xmm0, xmmword [rsi]
movaps xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rsp + 0x70], xmm1
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x140082c32
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140082c2d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140082c2d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140084f34
cmp qword [rsp + 0x70], 0
jne 0x140082c51
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Error_or_No_Value
lea rcx, [rsp + 0x60]
call fcn.1400380d0
movzx edx, byte [rbx + 1]
add rdx, rbx
movzx r8d, byte [rbx + 6]
lea rcx, [rsp + 0x20]
call fcn.140081ca0
mov rsi, rax
lea rax, [rbp - 0x80]
cmp rax, rsi
je 0x140082cd8
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x140082caa
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140082ca5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140082d0c
call fcn.140084f34
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x80], 0
movups xmm0, xmmword [rsi]
movaps xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rbp - 0x70], xmm1
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x140082d18
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140082d13
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140082d13
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140084f34
cmp qword [rbp - 0x70], 0
jne 0x140082d35
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Error_or_No_Value
lea rcx, [rbp - 0x80]
call fcn.1400380d0
movzx edx, byte [rbx + 1]
add rdx, rbx
movzx r8d, byte [rbx + 7]
lea rcx, [rsp + 0x20]
call fcn.140081ca0
mov rsi, rax
lea rax, [rbp - 0x60]
cmp rax, rsi
je 0x140082dbc
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x140082d8e
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140082d89
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140082df0
call fcn.140084f34
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x60], 0
movups xmm0, xmmword [rsi]
movaps xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rbp - 0x50], xmm1
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x140082dfc
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140082df7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140082df7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140084f34
cmp qword [rbp - 0x50], 0
jne 0x140082e19
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 + 0x19]
lea rcx, [rsp + 0x20]
call fcn.140081ca0
mov rsi, rax
lea rax, [rbp - 0x40]
cmp rax, rsi
je 0x140082ea0
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140082e72
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140082e6d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140082ed4
call fcn.140084f34
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x40], 0
movups xmm0, xmmword [rsi]
movaps xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rbp - 0x30], xmm1
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x140082ee0
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140082edb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140082edb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140084f34
cmp qword [rbp - 0x30], 0
jne 0x140082efd
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Error_or_No_Value
lea rcx, [rbp - 0x40]
call fcn.1400380d0
movzx edx, byte [rbx + 1]
add rdx, rbx
movzx r8d, byte [rbx + 0x1a]
lea rcx, [rsp + 0x20]
call fcn.140081ca0
mov rbx, rax
lea rax, [rbp - 0x20]
cmp rax, rbx
je 0x140082f84
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x140082f56
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140082f51
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140082fb8
call fcn.140084f34
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x20], 0
movups xmm0, xmmword [rbx]
movaps xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rbx + 0x10]
movaps xmmword [rbp - 0x10], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x140082fc4
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140082fbf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140082fbf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140084f34
cmp qword [rbp - 0x10], 0
jne 0x140082fe1
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Error_or_No_Value
lea rcx, [rbp - 0x20]
call fcn.1400380d0
mov rbx, qword [r14 + 8]
cmp rbx, qword [r14 + 0x10]
je 0x140083054
mov qword [rbp + 0x60], rbx
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14003a900
nop
lea rcx, [rbx + 0x20]
lea rdx, [rsp + 0x60]
call fcn.14003a900
nop
lea rcx, [rbx + 0x40]
lea rdx, [rbp - 0x80]
call fcn.14003a900
nop
lea rcx, [rbx + 0x60]
lea rdx, [rbp - 0x60]
call fcn.14003a900
nop
lea rcx, [rbx + 0x80]
lea rdx, [rbp - 0x40]
call fcn.14003a900
nop
lea rcx, [rbx + 0xa0]
lea rdx, [rbp - 0x20]
call fcn.14003a900
nop
add qword [r14 + 8], 0xc0
jmp 0x140083065
lea r8, [rsp + 0x40]
mov rdx, rbx
mov rcx, r14
call fcn.1400830b0
nop
test rdi, rdi
je 0x140082a05
mov rdx, qword [rbp + 0x10]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400829fc
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400829fc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3