Function at 0x1400377c0
Capabilities:
Get system firmware table

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov r15, rcx
mov dword [rsp + 0x78], 1
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
xor r12d, r12d
mov qword [rcx + 0x10], r12
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rcx], r12b
movups xmmword [rcx + 0x20], xmm0
mov qword [rcx + 0x30], r12
mov qword [rcx + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rcx + 0x20], r12b
movups xmmword [rcx + 0x40], xmm0
mov qword [rcx + 0x50], r12
mov qword [rcx + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rcx + 0x40], r12b
movups xmmword [rcx + 0x60], xmm0
mov qword [rcx + 0x70], r12
mov qword [rcx + 0x78], reloc.WS2_32.dll_ntohs
mov byte [rcx + 0x60], r12b
movups xmmword [rcx + 0x80], xmm0
mov qword [rcx + 0x90], r12
mov qword [rcx + 0x98], reloc.WS2_32.dll_ntohs
mov byte [rcx + 0x80], r12b
mov dword [rsp + 0x78], 1
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Error_or_No_Value
call fcn.1400380d0
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Error_or_No_Value
lea rcx, [r15 + 0x20]
call fcn.1400380d0
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Error_or_No_Value
lea rcx, [r15 + 0x40]
call fcn.1400380d0
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Error_or_No_Value
lea rcx, [r15 + 0x60]
call fcn.1400380d0
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Error_or_No_Value
lea rcx, [r15 + 0x80]
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 0x140037dce
mov ecx, ebx
call fcn.140084fd8
mov rbp, rax
mov r9d, ebx
mov r8, rax
xor edx, edx
mov ecx, 0x52534d42
call qword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
test eax, eax
je 0x140037dc5
lea rbx, [rbp + 8]
mov edx, dword [rbp + 4]
add rdx, rbx
cmp rbx, rdx
jae 0x140037dc5
cmp byte [rbx], 2
je 0x140037959
movzx eax, byte [rbx + 1]
add rax, rbx
cmp rax, rdx
jae 0x14003794b
lea rcx, [rax + 1]
cmp byte [rax], 0
jne 0x140037943
cmp byte [rcx], 0
je 0x14003794b
mov rax, rcx
cmp rcx, rdx
jb 0x140037935
lea rbx, [rax + 2]
cmp rbx, rdx
jb 0x140037924
jmp 0x140037dc5
movzx edx, byte [rbx + 1]
add rdx, rbx
movzx r8d, byte [rbx + 4]
lea rcx, [rsp + 0x20]
call fcn.140081ca0
mov rdi, rax
cmp r15, rax
je 0x1400379dc
mov rdx, qword [r15 + 0x18]
cmp rdx, 0xf
jbe 0x1400379ad
mov rcx, qword [r15]
inc rdx
cmp rdx, 0x1000
jb 0x1400379a8
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140037a10
mov rcx, r8
call fcn.140084f34
mov qword [r15 + 0x10], r12
mov qword [r15 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r15], 0
movups xmm0, xmmword [rdi]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [r15 + 0x10], xmm1
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x140037a1c
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037a17
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140037a17
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140084f34
cmp qword [r15 + 0x10], 0
jne 0x140037a38
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Error_or_No_Value
mov rcx, r15
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 rdi, [r15 + 0x20]
cmp rdi, rax
je 0x140037abc
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140037a90
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140037a8b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140037af0
mov rcx, r8
call fcn.140084f34
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
movups xmm0, xmmword [rsi]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x140037afc
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037af7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140037af7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140084f34
cmp qword [r15 + 0x30], 0
jne 0x140037b19
lea rcx, [r15 + 0x20]
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Error_or_No_Value
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 rdi, [r15 + 0x40]
cmp rdi, rax
je 0x140037b9d
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140037b71
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140037b6c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140037bd1
mov rcx, r8
call fcn.140084f34
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
movups xmm0, xmmword [rsi]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x140037bdd
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037bd8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140037bd8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140084f34
cmp qword [r15 + 0x50], 0
jne 0x140037bfa
lea rcx, [r15 + 0x40]
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Error_or_No_Value
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 rdi, [r15 + 0x60]
cmp rdi, rax
je 0x140037c7e
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140037c52
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140037c4d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140037cb2
mov rcx, r8
call fcn.140084f34
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
movups xmm0, xmmword [rsi]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x140037cbe
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037cb9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140037cb9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140084f34
cmp qword [r15 + 0x70], 0
jne 0x140037cdb
lea rcx, [r15 + 0x60]
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Error_or_No_Value
call fcn.1400380d0
movzx edx, byte [rbx + 1]
add rdx, rbx
movzx r8d, byte [rbx + 0xa]
lea rcx, [rsp + 0x20]
call fcn.140081ca0
mov rdi, rax
lea rbx, [r15 + 0x80]
cmp rbx, rax
je 0x140037d62
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140037d36
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140037d31
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140037d96
mov rcx, r8
call fcn.140084f34
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x140037da2
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037d9d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140037d9d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140084f34
cmp qword [r15 + 0x90], 0
jne 0x140037dc5
lea rcx, [r15 + 0x80]
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Error_or_No_Value
call fcn.1400380d0
mov rcx, rbp
call fcn.140084f34
nop
mov rax, r15
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret