Function at 0x14008d6c0
Capabilities:
Get system firmware table

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xd8]
sub rsp, 0x1f8
movaps xmmword [rsp + 0x1e0], xmm6
mov rsi, rcx
mov dword [rbp + 0x128], 1
xor r15d, r15d
mov qword [rcx], r15
mov qword [rcx + 8], r15
mov qword [rcx + 0x10], r15
mov dword [rbp + 0x128], 1
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
movdqa xmm6, xmmword [0x140104660]
movdqa xmmword [rbp - 0x50], xmm6
mov byte [rbp - 0x60], r15b
movups xmmword [rbp - 0x40], xmm0
movdqa xmmword [rbp - 0x30], xmm6
mov byte [rbp - 0x40], r15b
movups xmmword [rbp - 0x20], xmm0
movdqa xmmword [rbp - 0x10], xmm6
mov byte [rbp - 0x20], r15b
movups xmmword [rbp], xmm0
movdqa xmmword [rbp + 0x10], xmm6
mov byte [rbp], r15b
movups xmmword [rbp + 0x20], xmm0
movdqa xmmword [rbp + 0x30], xmm6
mov byte [rbp + 0x20], r15b
movups xmmword [rbp + 0x40], xmm0
movdqa xmmword [rbp + 0x50], xmm6
mov byte [rbp + 0x40], r15b
movups xmmword [rbp + 0x60], xmm0
movdqa xmmword [rbp + 0x70], xmm6
mov byte [rbp + 0x60], r15b
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Error_or_No_Value
lea rcx, [rbp - 0x60]
call fcn.140038110
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Error_or_No_Value
lea rcx, [rbp - 0x40]
call fcn.140038110
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Error_or_No_Value
lea rcx, [rbp - 0x20]
call fcn.140038110
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Error_or_No_Value
lea rcx, [rbp]
call fcn.140038110
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Error_or_No_Value
lea rcx, [rbp + 0x20]
call fcn.140038110
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Error_or_No_Value
lea rcx, [rbp + 0x40]
call fcn.140038110
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Error_or_No_Value
lea rcx, [rbp + 0x60]
call fcn.140038110
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0x52534d42
call qword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
mov r14d, eax
test eax, eax
je 0x14008d8bf
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x90], r15
mov edx, r14d
lea rcx, [rbp + 0x80]
call fcn.140078b80
mov r8d, r14d
xor edx, edx
mov rbx, qword [rbp + 0x80]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
lea rax, [r14 + rbx]
mov qword [rbp + 0x88], rax
mov r9d, r14d
mov r8, rbx
xor edx, edx
mov ecx, 0x52534d42
call qword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
test eax, eax
jne 0x14008d8e8
test rbx, rbx
je 0x14008d8bf
mov rdx, qword [rbp + 0x90]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x14008d8b6
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008df7c
mov rcx, rbx
call fcn.14008f7c4
nop
lea rcx, [rbp - 0x60]
call fcn.14003c790
nop
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x1e0]
add rsp, 0x1f8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov r13, rbx
mov qword [rbp + 0x138], rbx
lea rdx, [r14 + rbx]
cmp rbx, rdx
jae 0x14008df10
nop
cmp byte [r13], 1
je 0x14008d93f
movzx eax, byte [r13 + 1]
add rax, r13
cmp rax, rdx
jae 0x14008d92a
lea rcx, [rax + 1]
cmp byte [rax], 0
jne 0x14008d922
cmp byte [rcx], 0
je 0x14008d92a
mov rax, rcx
cmp rcx, rdx
jb 0x14008d914
lea r13, [rax + 2]
mov qword [rbp + 0x138], r13
cmp r13, rdx
jb 0x14008d900
jmp 0x14008df10
movzx edx, byte [r13 + 1]
add rdx, r13
movzx r8d, byte [r13 + 4]
lea rcx, [rbp - 0x80]
call fcn.14008cb40
mov rbx, rax
lea rax, [rbp - 0x60]
cmp rax, rbx
je 0x14008d9bf
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x14008d998
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008d993
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008d9f1
call fcn.14008f7c4
movdqa xmmword [rbp - 0x50], xmm6
mov byte [rbp - 0x60], 0
movups xmm0, xmmword [rbx]
movaps xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rbx + 0x10]
movaps xmmword [rbp - 0x50], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x14008d9fd
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008d9f8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008d9f8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008f7c4
movzx edx, byte [r13 + 1]
add rdx, r13
movzx r8d, byte [r13 + 5]
lea rcx, [rbp - 0x80]
call fcn.14008cb40
mov rbx, rax
lea rax, [rbp - 0x40]
cmp rax, rbx
je 0x14008da7d
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x14008da56
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008da51
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008daaf
call fcn.14008f7c4
movdqa xmmword [rbp - 0x30], xmm6
mov byte [rbp - 0x40], 0
movups xmm0, xmmword [rbx]
movaps xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rbx + 0x10]
movaps xmmword [rbp - 0x30], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x14008dabb
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008dab6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008dab6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008f7c4
movzx edx, byte [r13 + 1]
add rdx, r13
movzx r8d, byte [r13 + 6]
lea rcx, [rbp - 0x80]
call fcn.14008cb40
mov rbx, rax
lea rax, [rbp - 0x20]
cmp rax, rbx
je 0x14008db3b
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x14008db14
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008db0f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008db6d
call fcn.14008f7c4
movdqa xmmword [rbp - 0x10], xmm6
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 [rbp - 0x68]
cmp rdx, 0xf
jbe 0x14008db79
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008db74
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008db74
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008f7c4
movzx edx, byte [r13 + 1]
add rdx, r13
movzx r8d, byte [r13 + 7]
lea rcx, [rbp - 0x80]
call fcn.14008cb40
mov rbx, rax
lea rax, [rbp]
cmp rax, rbx
je 0x14008dbf9
mov rdx, qword [rbp + 0x18]
cmp rdx, 0xf
jbe 0x14008dbd2
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008dbcd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008dc2b
call fcn.14008f7c4
movdqa xmmword [rbp + 0x10], xmm6
mov byte [rbp], 0
movups xmm0, xmmword [rbx]
movaps xmmword [rbp], 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 [rbp - 0x68]
cmp rdx, 0xf
jbe 0x14008dc37
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008dc32
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008dc32
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008f7c4
movzx edx, byte [r13 + 1]
add rdx, r13
movzx r8d, byte [r13 + 0x19]
lea rcx, [rbp - 0x80]
call fcn.14008cb40
mov rbx, rax
lea rax, [rbp + 0x20]
cmp rax, rbx
je 0x14008dcb7
mov rdx, qword [rbp + 0x38]
cmp rdx, 0xf
jbe 0x14008dc90
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008dc8b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008dce9
call fcn.14008f7c4
movdqa xmmword [rbp + 0x30], xmm6
mov byte [rbp + 0x20], 0
movups xmm0, xmmword [rbx]
movaps xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rbx + 0x10]
movaps xmmword [rbp + 0x30], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x14008dcf5
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008dcf0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008dcf0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008f7c4
movzx edx, byte [r13 + 1]
add rdx, r13
movzx r8d, byte [r13 + 0x1a]
lea rcx, [rbp - 0x80]
call fcn.14008cb40
mov rbx, rax
lea rax, [rbp + 0x40]
cmp rax, rbx
je 0x14008dd75
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x14008dd4e
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008dd49
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008dda7
call fcn.14008f7c4
movdqa xmmword [rbp + 0x50], xmm6
mov byte [rbp + 0x40], 0
movups xmm0, xmmword [rbx]
movaps xmmword [rbp + 0x40], xmm0
movups xmm1, xmmword [rbx + 0x10]
movaps xmmword [rbp + 0x50], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x14008ddb3
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008ddae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008ddae
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008f7c4
movzx eax, byte [r13 + 0x17]
movzx ecx, byte [r13 + 0x16]
movzx edx, byte [r13 + 0x15]
movzx r8d, byte [r13 + 0x14]
movzx r10d, byte [r13 + 0x13]
movzx r11d, byte [r13 + 0x12]
movzx ebx, byte [r13 + 0x11]
movzx edi, byte [r13 + 0x10]
movzx esi, byte [r13 + 0xe]
movzx r14d, byte [r13 + 0xf]
movzx r15d, byte [r13 + 0xc]
movzx r12d, byte [r13 + 0xd]
movzx r13d, byte [r13 + 8]
mov r9, qword [rbp + 0x138]
movzx r9d, byte [r9 + 0xb]
mov dword [rsp + 0x90], eax
mov dword [rsp + 0x88], ecx
mov dword [rsp + 0x80], edx
mov dword [rsp + 0x78], r8d
mov dword [rsp + 0x70], r10d
mov dword [rsp + 0x68], r11d
mov dword [rsp + 0x60], ebx
mov dword [rsp + 0x58], edi
mov dword [rsp + 0x50], esi
mov dword [rsp + 0x48], r14d
mov dword [rsp + 0x40], r15d
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], r13d
mov rcx, qword [rbp + 0x138]
movzx eax, byte [rcx + 9]
mov dword [rsp + 0x28], eax
movzx eax, byte [rcx + 0xa]
mov dword [rsp + 0x20], eax
lea r8, str._02X_02X_02X_02X__02X_02X__02X_02X__02X_02X__02X_02X_02X_02X_02X_02X
mov edx, Ordinal_41
lea rcx, [rbp + 0x98]
call fcn.140040a80
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
lea rax, [rbp + 0x98]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14008de90
lea rdx, [rbp + 0x98]
lea rcx, [rbp - 0x80]
call fcn.14003ebb0
mov dword [rbp + 0x128], 3
mov rdx, qword [rbp + 0x78]
cmp rdx, 0xf
jbe 0x14008def2
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008deed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008deed
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008f7c4
movups xmm0, xmmword [rbp - 0x80]
movaps xmmword [rbp + 0x60], xmm0
movups xmm1, xmmword [rbp - 0x70]
movaps xmmword [rbp + 0x70], xmm1
mov rbx, qword [rbp + 0x80]
mov rsi, qword [rbp + 0x120]
mov rax, qword [rsi + 8]
cmp rax, qword [rsi + 0x10]
je 0x14008df30
lea rdx, [rbp - 0x60]
mov rcx, rax
call fcn.14003cf30
add qword [rsi + 8], 0xe0
jmp 0x14008df40
lea r8, [rbp - 0x60]
mov rdx, rax
mov rcx, rsi
call fcn.14003cc90
nop
test rbx, rbx
je 0x14008d8bf
mov rdx, qword [rbp + 0x90]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x14008d8b6
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008d8b6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3