Function at 0x140037800
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.140038110
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Error_or_No_Value
lea rcx, [r15 + 0x20]
call fcn.140038110
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Error_or_No_Value
lea rcx, [r15 + 0x40]
call fcn.140038110
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Error_or_No_Value
lea rcx, [r15 + 0x60]
call fcn.140038110
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Error_or_No_Value
lea rcx, [r15 + 0x80]
call fcn.140038110
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 0x140037e0e
mov ecx, ebx
call fcn.14008f868
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 0x140037e05
lea rbx, [rbp + 8]
mov edx, dword [rbp + 4]
add rdx, rbx
cmp rbx, rdx
jae 0x140037e05
cmp byte [rbx], 2
je 0x140037999
movzx eax, byte [rbx + 1]
add rax, rbx
cmp rax, rdx
jae 0x14003798b
lea rcx, [rax + 1]
cmp byte [rax], 0
jne 0x140037983
cmp byte [rcx], 0
je 0x14003798b
mov rax, rcx
cmp rcx, rdx
jb 0x140037975
lea rbx, [rax + 2]
cmp rbx, rdx
jb 0x140037964
jmp 0x140037e05
movzx edx, byte [rbx + 1]
add rdx, rbx
movzx r8d, byte [rbx + 4]
lea rcx, [rsp + 0x20]
call fcn.14008cb40
mov rdi, rax
cmp r15, rax
je 0x140037a1c
mov rdx, qword [r15 + 0x18]
cmp rdx, 0xf
jbe 0x1400379ed
mov rcx, qword [r15]
inc rdx
cmp rdx, 0x1000
jb 0x1400379e8
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140037a50
mov rcx, r8
call fcn.14008f7c4
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 0x140037a5c
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037a57
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140037a57
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008f7c4
cmp qword [r15 + 0x10], 0
jne 0x140037a78
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Error_or_No_Value
mov rcx, r15
call fcn.140038110
movzx edx, byte [rbx + 1]
add rdx, rbx
movzx r8d, byte [rbx + 5]
lea rcx, [rsp + 0x20]
call fcn.14008cb40
mov rsi, rax
lea rdi, [r15 + 0x20]
cmp rdi, rax
je 0x140037afc
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140037ad0
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140037acb
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140037b30
mov rcx, r8
call fcn.14008f7c4
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 0x140037b3c
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037b37
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140037b37
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008f7c4
cmp qword [r15 + 0x30], 0
jne 0x140037b59
lea rcx, [r15 + 0x20]
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Error_or_No_Value
call fcn.140038110
movzx edx, byte [rbx + 1]
add rdx, rbx
movzx r8d, byte [rbx + 6]
lea rcx, [rsp + 0x20]
call fcn.14008cb40
mov rsi, rax
lea rdi, [r15 + 0x40]
cmp rdi, rax
je 0x140037bdd
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140037bb1
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140037bac
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140037c11
mov rcx, r8
call fcn.14008f7c4
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 0x140037c1d
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037c18
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140037c18
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008f7c4
cmp qword [r15 + 0x50], 0
jne 0x140037c3a
lea rcx, [r15 + 0x40]
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Error_or_No_Value
call fcn.140038110
movzx edx, byte [rbx + 1]
add rdx, rbx
movzx r8d, byte [rbx + 7]
lea rcx, [rsp + 0x20]
call fcn.14008cb40
mov rsi, rax
lea rdi, [r15 + 0x60]
cmp rdi, rax
je 0x140037cbe
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140037c92
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140037c8d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140037cf2
mov rcx, r8
call fcn.14008f7c4
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 0x140037cfe
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037cf9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140037cf9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008f7c4
cmp qword [r15 + 0x70], 0
jne 0x140037d1b
lea rcx, [r15 + 0x60]
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Error_or_No_Value
call fcn.140038110
movzx edx, byte [rbx + 1]
add rdx, rbx
movzx r8d, byte [rbx + 0xa]
lea rcx, [rsp + 0x20]
call fcn.14008cb40
mov rdi, rax
lea rbx, [r15 + 0x80]
cmp rbx, rax
je 0x140037da2
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140037d76
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140037d71
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140037dd6
mov rcx, r8
call fcn.14008f7c4
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 0x140037de2
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037ddd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140037ddd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008f7c4
cmp qword [r15 + 0x90], 0
jne 0x140037e05
lea rcx, [r15 + 0x80]
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Error_or_No_Value
call fcn.140038110
mov rcx, rbp
call fcn.14008f7c4
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