Function at 0x1400035d0
Capabilities:
Get system firmware table

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10110]
mov eax, 0x10210
call fcn.14008cce0
sub rsp, rax
mov rax, qword [0x1400ae038]
xor rax, rsp
mov qword [rbp + 0x10100], rax
mov r14, rcx
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 1
lea rcx, [rsp + 0x50]
call fcn.140004120
nop
xorps xmm1, xmm1
movups xmmword [r14], xmm1
xor r12d, r12d
mov qword [r14], r12
mov qword [r14 + 8], r12
mov qword [r14 + 0x10], r12
mov dword [rsp + 0x20], 1
mov dword [rsp + 0x50], r12d
xor r8d, r8d
lea rdx, [0x1400931c9]
lea rcx, [rsp + 0x58]
call fcn.140005f10
xor edx, edx
mov r8d, 0x10000
lea rcx, [rbp + 0x100]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x50], r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0x52534d42
call qword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
test eax, eax
jne 0x140003771
lea r8d, [r12 + 0x20]
lea rdx, str.Failed_to_get_size_of_baseboard_
lea rcx, [rsp + 0x58]
call fcn.140005f10
mov dword [rsp + 0x50], 2
mov rax, qword [r14 + 8]
cmp rax, qword [r14 + 0x10]
je 0x1400036d2
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.140008620
add qword [r14 + 8], 0x1b0
jmp 0x1400036e3
lea r8, [rsp + 0x50]
mov rdx, rax
mov rcx, r14
call fcn.140007cb0
nop
lea rcx, [rbp + 0x80]
call fcn.140004540
lea rcx, [rbp - 0x20]
call fcn.1400043a0
lea rcx, [rbp - 0x80]
call fcn.1400042a0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x14000373e
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003739
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000410f
call fcn.14008bba0
mov rax, r14
mov rcx, qword [rbp + 0x10100]
xor rcx, rsp
call fcn.14008bb80
lea r11, [rsp + 0x10210]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov r9d, eax
lea r8, [rbp + 0x100]
xor edx, edx
mov ecx, 0x52534d42
call qword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
mov ecx, eax
test eax, eax
jne 0x14000379e
lea r8d, [rax + 0x18]
lea rdx, str.Failed_to_get_baseboard_
jmp 0x14000369f
add rcx, 0xfffffffffffffff8
mov eax, dword [rbp + 0x104]
cmp rax, rcx
je 0x1400037bf
mov r8d, shutdown
lea rdx, str.Smbios_length_error_
jmp 0x14000369f
lea rdi, [rbp + 0x108]
mov esi, 1
mov r15d, r12d
cmp dword [rbp + 0x104], r12d
jbe 0x1400040b1
mov r13d, 0x100
movzx eax, byte [rdi]
test al, al
jne 0x140003a32
test esi, esi
je 0x140004087
mov dword [rsp + 0x78], r12d
mov dword [rsp + 0x50], 1
movzx ecx, byte [rdi + 4]
test cl, cl
jne 0x140003812
lea rdx, str.Not_Specified
jmp 0x140003888
movzx edx, byte [rdi + 1]
add rdx, rdi
cmp cl, 1
jbe 0x140003847
nop
cmp byte [rdx], 0
je 0x14000384c
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rdx + rax], 0
jne 0x140003830
inc rdx
add rdx, rax
add cl, 0xff
cmp cl, 1
ja 0x140003820
cmp byte [rdx], 0
jne 0x140003855
lea rdx, str.BAD_INDEX
jmp 0x140003888
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [rdx + rcx], 0
jne 0x140003860
test rcx, rcx
je 0x140003888
mov r8, rdx
movzx eax, byte [r8]
sub al, 0x20
cmp al, 0x5e
jbe 0x14000387f
mov byte [r8], 0x2e
inc r8
sub rcx, 1
jne 0x140003871
mov rax, rdi
mov ecx, 1
lea rbx, [rcx + rax]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x1400038a0
lea rcx, [rbp - 0x80]
call fcn.140005f10
movzx ecx, byte [rdi + 5]
test cl, cl
jne 0x1400038c4
lea rdx, str.Not_Specified
jmp 0x140003938
movzx edx, byte [rbx]
add rdx, rdi
cmp cl, 1
jbe 0x1400038f7
nop
cmp byte [rdx], 0
je 0x1400038fc
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rdx + rax], 0
jne 0x1400038e0
inc rdx
add rdx, rax
add cl, 0xff
cmp cl, 1
ja 0x1400038d0
cmp byte [rdx], 0
jne 0x140003905
lea rdx, str.BAD_INDEX
jmp 0x140003938
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [rdx + rcx], 0
jne 0x140003910
test rcx, rcx
je 0x140003938
mov r8, rdx
movzx eax, byte [r8]
sub al, 0x20
cmp al, 0x5e
jbe 0x14000392f
mov byte [r8], 0x2e
inc r8
sub rcx, 1
jne 0x140003921
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x140003940
lea rcx, [rbp - 0x60]
call fcn.140005f10
movzx ecx, byte [rdi + 8]
test cl, cl
jne 0x140003964
lea rdx, str.Not_Specified
jmp 0x1400039d8
movzx edx, byte [rbx]
add rdx, rdi
cmp cl, 1
jbe 0x140003997
nop
cmp byte [rdx], 0
je 0x14000399c
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rdx + rax], 0
jne 0x140003980
inc rdx
add rdx, rax
add cl, 0xff
cmp cl, 1
ja 0x140003970
cmp byte [rdx], 0
jne 0x1400039a5
lea rdx, str.BAD_INDEX
jmp 0x1400039d8
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [rdx + rcx], 0
jne 0x1400039b0
test rcx, rcx
je 0x1400039d8
mov r8, rdx
movzx eax, byte [r8]
sub al, 0x20
cmp al, 0x5e
jbe 0x1400039cf
mov byte [r8], 0x2e
inc r8
sub rcx, 1
jne 0x1400039c1
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x1400039e0
lea rcx, [rbp - 0x40]
call fcn.140005f10
mov rax, qword [r14 + 8]
cmp rax, qword [r14 + 0x10]
je 0x140003a1a
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.140008620
add qword [r14 + 8], 0x1b0
mov esi, r12d
jmp 0x140004087
lea r8, [rsp + 0x50]
mov rdx, rax
mov rcx, r14
call fcn.140007cb0
mov esi, r12d
jmp 0x140004087
cmp al, 2
jne 0x140003da7
mov dword [rsp + 0x78], 1
mov dword [rsp + 0x50], 1
movzx ecx, byte [rdi + 4]
test cl, cl
jne 0x140003a5b
lea rdx, str.Not_Specified
jmp 0x140003ac8
movzx edx, byte [rdi + 1]
add rdx, rdi
cmp cl, 1
jbe 0x140003a8a
cmp byte [rdx], 0
je 0x140003a8f
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rdx + rax], 0
jne 0x140003a73
inc rdx
add rdx, rax
add cl, 0xff
cmp cl, 1
ja 0x140003a67
cmp byte [rdx], 0
jne 0x140003a98
lea rdx, str.BAD_INDEX
jmp 0x140003ac8
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp byte [rdx + rcx], 0
jne 0x140003aa0
test rcx, rcx
je 0x140003ac8
mov r8, rdx
movzx eax, byte [r8]
sub al, 0x20
cmp al, 0x5e
jbe 0x140003abf
mov byte [r8], 0x2e
inc r8
sub rcx, 1
jne 0x140003ab1
mov rax, rdi
mov ecx, 1
lea rbx, [rcx + rax]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140003ae0
lea rcx, [rbp - 0x20]
call fcn.140005f10
movzx ecx, byte [rdi + 5]
test cl, cl
jne 0x140003b04
lea rdx, str.Not_Specified
jmp 0x140003b78
movzx edx, byte [rbx]
add rdx, rdi
cmp cl, 1
jbe 0x140003b37
nop
cmp byte [rdx], 0
je 0x140003b3c
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rdx + rax], 0
jne 0x140003b20
inc rdx
add rdx, rax
add cl, 0xff
cmp cl, 1
ja 0x140003b10
cmp byte [rdx], 0
jne 0x140003b45
lea rdx, str.BAD_INDEX
jmp 0x140003b78
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [rdx + rcx], 0
jne 0x140003b50
test rcx, rcx
je 0x140003b78
mov r8, rdx
movzx eax, byte [r8]
sub al, 0x20
cmp al, 0x5e
jbe 0x140003b6f
mov byte [r8], 0x2e
inc r8
sub rcx, 1
jne 0x140003b61
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x140003b80
lea rcx, [rbp]
call fcn.140005f10
movzx ecx, byte [rdi + 6]
test cl, cl
jne 0x140003ba4
lea rdx, str.Not_Specified
jmp 0x140003c18
movzx edx, byte [rbx]
add rdx, rdi
cmp cl, 1
jbe 0x140003bd7
nop
cmp byte [rdx], 0
je 0x140003bdc
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rdx + rax], 0
jne 0x140003bc0
inc rdx
add rdx, rax
add cl, 0xff
cmp cl, 1
ja 0x140003bb0
cmp byte [rdx], 0
jne 0x140003be5
lea rdx, str.BAD_INDEX
jmp 0x140003c18
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [rdx + rcx], 0
jne 0x140003bf0
test rcx, rcx
je 0x140003c18
mov r8, rdx
movzx eax, byte [r8]
sub al, 0x20
cmp al, 0x5e
jbe 0x140003c0f
mov byte [r8], 0x2e
inc r8
sub rcx, 1
jne 0x140003c01
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x140003c20
lea rcx, [rbp + 0x20]
call fcn.140005f10
movzx ecx, byte [rdi + 7]
test cl, cl
jne 0x140003c44
lea rdx, str.Not_Specified
jmp 0x140003cb8
movzx edx, byte [rbx]
add rdx, rdi
cmp cl, 1
jbe 0x140003c77
nop
cmp byte [rdx], 0
je 0x140003c7c
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rdx + rax], 0
jne 0x140003c60
inc rdx
add rdx, rax
add cl, 0xff
cmp cl, 1
ja 0x140003c50
cmp byte [rdx], 0
jne 0x140003c85
lea rdx, str.BAD_INDEX
jmp 0x140003cb8
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [rdx + rcx], 0
jne 0x140003c90
test rcx, rcx
je 0x140003cb8
mov r8, rdx
movzx eax, byte [r8]
sub al, 0x20
cmp al, 0x5e
jbe 0x140003caf
mov byte [r8], 0x2e
inc r8
sub rcx, 1
jne 0x140003ca1
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x140003cc0
lea rcx, [rbp + 0x40]
call fcn.140005f10
movzx r8d, byte [rbp + 0x101]
movsx ecx, r13w
imul r8d, ecx
movzx eax, byte [rbp + 0x102]
add r8w, ax
lea rdx, [rdi + 8]
lea rcx, [rsp + 0x30]
call fcn.140003210
mov rbx, rax
lea rax, [rbp + 0x60]
cmp rax, rbx
je 0x140003d61
mov rdx, qword [rbp + 0x78]
cmp rdx, 0x10
jb 0x140003d43
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003d3e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004116
call fcn.14008bba0
movups xmm0, xmmword [rbx]
movaps xmmword [rbp + 0x60], xmm0
movups xmm1, xmmword [rbx + 0x10]
movaps xmmword [rbp + 0x70], xmm1
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140004056
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003d9d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004116
call fcn.14008bba0
jmp 0x140004056
cmp al, 0x11
jne 0x140004087
mov dword [rsp + 0x78], 2
mov dword [rsp + 0x50], 1
movzx ecx, byte [rdi + 0x12]
test cl, cl
jne 0x140003dd0
lea rdx, str.Not_Specified
jmp 0x140003e48
movzx edx, byte [rdi + 1]
add rdx, rdi
cmp cl, 1
jbe 0x140003e07
nop dword [rax]
cmp byte [rdx], 0
je 0x140003e0c
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rdx + rax], 0
jne 0x140003df0
inc rdx
add rdx, rax
add cl, 0xff
cmp cl, 1
ja 0x140003de0
cmp byte [rdx], 0
jne 0x140003e15
lea rdx, str.BAD_INDEX
jmp 0x140003e48
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [rdx + rcx], 0
jne 0x140003e20
test rcx, rcx
je 0x140003e48
mov r8, rdx
movzx eax, byte [r8]
sub al, 0x20
cmp al, 0x5e
jbe 0x140003e3f
mov byte [r8], 0x2e
inc r8
sub rcx, 1
jne 0x140003e31
mov rax, rdi
mov ecx, 1
lea rbx, [rcx + rax]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140003e60
lea rcx, [rbp + 0x80]
call fcn.140005f10
movzx ecx, byte [rdi + 0xc]
test cl, cl
jne 0x140003e87
lea rdx, str.Not_Specified
jmp 0x140003ef8
movzx edx, byte [rbx]
add rdx, rdi
cmp cl, 1
jbe 0x140003eb7
cmp byte [rdx], 0
je 0x140003ebc
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rdx + rax], 0
jne 0x140003ea0
inc rdx
add rdx, rax
add cl, 0xff
cmp cl, 1
ja 0x140003e92
cmp byte [rdx], 0
jne 0x140003ec5
lea rdx, str.BAD_INDEX
jmp 0x140003ef8
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [rdx + rcx], 0
jne 0x140003ed0
test rcx, rcx
je 0x140003ef8
mov r8, rdx
movzx eax, byte [r8]
sub al, 0x20
cmp al, 0x5e
jbe 0x140003eef
mov byte [r8], 0x2e
inc r8
sub rcx, 1
jne 0x140003ee1
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x140003f00
lea rcx, [rbp + 0xa0]
call fcn.140005f10
movzx ecx, byte [rdi + 0x17]
test cl, cl
jne 0x140003f27
lea rdx, str.Not_Specified
jmp 0x140003f98
movzx edx, byte [rbx]
add rdx, rdi
cmp cl, 1
jbe 0x140003f57
cmp byte [rdx], 0
je 0x140003f5c
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rdx + rax], 0
jne 0x140003f40
inc rdx
add rdx, rax
add cl, 0xff
cmp cl, 1
ja 0x140003f32
cmp byte [rdx], 0
jne 0x140003f65
lea rdx, str.BAD_INDEX
jmp 0x140003f98
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [rdx + rcx], 0
jne 0x140003f70
test rcx, rcx
je 0x140003f98
mov r8, rdx
movzx eax, byte [r8]
sub al, 0x20
cmp al, 0x5e
jbe 0x140003f8f
mov byte [r8], 0x2e
inc r8
sub rcx, 1
jne 0x140003f81
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x140003fa0
lea rcx, [rbp + 0xc0]
call fcn.140005f10
movzx ecx, byte [rdi + 0x18]
test cl, cl
jne 0x140003fc7
lea rdx, str.Not_Specified
jmp 0x140004038
movzx edx, byte [rbx]
add rdx, rdi
cmp cl, 1
jbe 0x140003ff7
cmp byte [rdx], 0
je 0x140003ffc
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rdx + rax], 0
jne 0x140003fe0
inc rdx
add rdx, rax
add cl, 0xff
cmp cl, 1
ja 0x140003fd2
cmp byte [rdx], 0
jne 0x140004005
lea rdx, str.BAD_INDEX
jmp 0x140004038
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [rdx + rcx], 0
jne 0x140004010
test rcx, rcx
je 0x140004038
mov r8, rdx
movzx eax, byte [r8]
sub al, 0x20
cmp al, 0x5e
jbe 0x14000402f
mov byte [r8], 0x2e
inc r8
sub rcx, 1
jne 0x140004021
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x140004040
lea rcx, [rbp + 0xe0]
call fcn.140005f10
mov rax, qword [r14 + 8]
cmp rax, qword [r14 + 0x10]
je 0x140004077
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.140008620
add qword [r14 + 8], 0x1b0
jmp 0x140004087
lea r8, [rsp + 0x50]
mov rdx, rax
mov rcx, r14
call fcn.140007cb0
movzx eax, byte [rdi + 1]
add rdi, rax
cmp word [rdi], 0
je 0x14000409d
inc rdi
cmp word [rdi], 0
jne 0x140004094
add rdi, 2
inc r15d
cmp r15d, dword [rbp + 0x104]
jb 0x1400037e1
lea rcx, [rbp + 0x80]
call fcn.140004540
lea rcx, [rbp - 0x20]
call fcn.1400043a0
lea rcx, [rbp - 0x80]
call fcn.1400042a0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x14000373e
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003739
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003739
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3