Function at 0x140003430
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.140046a70
sub rsp, rax
mov rax, qword [0x14005b028]
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.140003f80
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, [0x140049cb1]
lea rcx, [rsp + 0x58]
call fcn.140005ef0
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 0x1400035d1
lea r8d, [r12 + 0x20]
lea rdx, str.Failed_to_get_size_of_baseboard_
lea rcx, [rsp + 0x58]
call fcn.140005ef0
mov dword [rsp + 0x50], 2
mov rax, qword [r14 + 8]
cmp rax, qword [r14 + 0x10]
je 0x140003532
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.1400085c0
add qword [r14 + 8], 0x1b0
jmp 0x140003543
lea r8, [rsp + 0x50]
mov rdx, rax
mov rcx, r14
call fcn.140007c10
nop
lea rcx, [rbp + 0x80]
call fcn.1400043a0
lea rcx, [rbp - 0x20]
call fcn.140004200
lea rcx, [rbp - 0x80]
call fcn.140004100
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x14000359e
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003599
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003f6f
call fcn.140045a90
mov rax, r14
mov rcx, qword [rbp + 0x10100]
xor rcx, rsp
call fcn.140045a70
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 0x1400035fe
lea r8d, [rax + 0x18]
lea rdx, str.Failed_to_get_baseboard_
jmp 0x1400034ff
add rcx, 0xfffffffffffffff8
mov eax, dword [rbp + 0x104]
cmp rax, rcx
je 0x14000361f
mov r8d, 0x14
lea rdx, str.Smbios_length_error_
jmp 0x1400034ff
lea rdi, [rbp + 0x108]
mov esi, 1
mov r15d, r12d
cmp dword [rbp + 0x104], r12d
jbe 0x140003f11
mov r13d, 0x100
movzx eax, byte [rdi]
test al, al
jne 0x140003892
test esi, esi
je 0x140003ee7
mov dword [rsp + 0x78], r12d
mov dword [rsp + 0x50], 1
movzx ecx, byte [rdi + 4]
test cl, cl
jne 0x140003672
lea rdx, str.Not_Specified
jmp 0x1400036e8
movzx edx, byte [rdi + 1]
add rdx, rdi
cmp cl, 1
jbe 0x1400036a7
nop
cmp byte [rdx], 0
je 0x1400036ac
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rdx + rax], 0
jne 0x140003690
inc rdx
add rdx, rax
add cl, 0xff
cmp cl, 1
ja 0x140003680
cmp byte [rdx], 0
jne 0x1400036b5
lea rdx, str.BAD_INDEX
jmp 0x1400036e8
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [rdx + rcx], 0
jne 0x1400036c0
test rcx, rcx
je 0x1400036e8
mov r8, rdx
movzx eax, byte [r8]
sub al, 0x20
cmp al, 0x5e
jbe 0x1400036df
mov byte [r8], 0x2e
inc r8
sub rcx, 1
jne 0x1400036d1
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 0x140003700
lea rcx, [rbp - 0x80]
call fcn.140005ef0
movzx ecx, byte [rdi + 5]
test cl, cl
jne 0x140003724
lea rdx, str.Not_Specified
jmp 0x140003798
movzx edx, byte [rbx]
add rdx, rdi
cmp cl, 1
jbe 0x140003757
nop
cmp byte [rdx], 0
je 0x14000375c
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rdx + rax], 0
jne 0x140003740
inc rdx
add rdx, rax
add cl, 0xff
cmp cl, 1
ja 0x140003730
cmp byte [rdx], 0
jne 0x140003765
lea rdx, str.BAD_INDEX
jmp 0x140003798
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [rdx + rcx], 0
jne 0x140003770
test rcx, rcx
je 0x140003798
mov r8, rdx
movzx eax, byte [r8]
sub al, 0x20
cmp al, 0x5e
jbe 0x14000378f
mov byte [r8], 0x2e
inc r8
sub rcx, 1
jne 0x140003781
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x1400037a0
lea rcx, [rbp - 0x60]
call fcn.140005ef0
movzx ecx, byte [rdi + 8]
test cl, cl
jne 0x1400037c4
lea rdx, str.Not_Specified
jmp 0x140003838
movzx edx, byte [rbx]
add rdx, rdi
cmp cl, 1
jbe 0x1400037f7
nop
cmp byte [rdx], 0
je 0x1400037fc
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rdx + rax], 0
jne 0x1400037e0
inc rdx
add rdx, rax
add cl, 0xff
cmp cl, 1
ja 0x1400037d0
cmp byte [rdx], 0
jne 0x140003805
lea rdx, str.BAD_INDEX
jmp 0x140003838
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [rdx + rcx], 0
jne 0x140003810
test rcx, rcx
je 0x140003838
mov r8, rdx
movzx eax, byte [r8]
sub al, 0x20
cmp al, 0x5e
jbe 0x14000382f
mov byte [r8], 0x2e
inc r8
sub rcx, 1
jne 0x140003821
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x140003840
lea rcx, [rbp - 0x40]
call fcn.140005ef0
mov rax, qword [r14 + 8]
cmp rax, qword [r14 + 0x10]
je 0x14000387a
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.1400085c0
add qword [r14 + 8], 0x1b0
mov esi, r12d
jmp 0x140003ee7
lea r8, [rsp + 0x50]
mov rdx, rax
mov rcx, r14
call fcn.140007c10
mov esi, r12d
jmp 0x140003ee7
cmp al, 2
jne 0x140003c07
mov dword [rsp + 0x78], 1
mov dword [rsp + 0x50], 1
movzx ecx, byte [rdi + 4]
test cl, cl
jne 0x1400038bb
lea rdx, str.Not_Specified
jmp 0x140003928
movzx edx, byte [rdi + 1]
add rdx, rdi
cmp cl, 1
jbe 0x1400038ea
cmp byte [rdx], 0
je 0x1400038ef
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rdx + rax], 0
jne 0x1400038d3
inc rdx
add rdx, rax
add cl, 0xff
cmp cl, 1
ja 0x1400038c7
cmp byte [rdx], 0
jne 0x1400038f8
lea rdx, str.BAD_INDEX
jmp 0x140003928
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp byte [rdx + rcx], 0
jne 0x140003900
test rcx, rcx
je 0x140003928
mov r8, rdx
movzx eax, byte [r8]
sub al, 0x20
cmp al, 0x5e
jbe 0x14000391f
mov byte [r8], 0x2e
inc r8
sub rcx, 1
jne 0x140003911
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 0x140003940
lea rcx, [rbp - 0x20]
call fcn.140005ef0
movzx ecx, byte [rdi + 5]
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]
call fcn.140005ef0
movzx ecx, byte [rdi + 6]
test cl, cl
jne 0x140003a04
lea rdx, str.Not_Specified
jmp 0x140003a78
movzx edx, byte [rbx]
add rdx, rdi
cmp cl, 1
jbe 0x140003a37
nop
cmp byte [rdx], 0
je 0x140003a3c
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rdx + rax], 0
jne 0x140003a20
inc rdx
add rdx, rax
add cl, 0xff
cmp cl, 1
ja 0x140003a10
cmp byte [rdx], 0
jne 0x140003a45
lea rdx, str.BAD_INDEX
jmp 0x140003a78
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [rdx + rcx], 0
jne 0x140003a50
test rcx, rcx
je 0x140003a78
mov r8, rdx
movzx eax, byte [r8]
sub al, 0x20
cmp al, 0x5e
jbe 0x140003a6f
mov byte [r8], 0x2e
inc r8
sub rcx, 1
jne 0x140003a61
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x140003a80
lea rcx, [rbp + 0x20]
call fcn.140005ef0
movzx ecx, byte [rdi + 7]
test cl, cl
jne 0x140003aa4
lea rdx, str.Not_Specified
jmp 0x140003b18
movzx edx, byte [rbx]
add rdx, rdi
cmp cl, 1
jbe 0x140003ad7
nop
cmp byte [rdx], 0
je 0x140003adc
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rdx + rax], 0
jne 0x140003ac0
inc rdx
add rdx, rax
add cl, 0xff
cmp cl, 1
ja 0x140003ab0
cmp byte [rdx], 0
jne 0x140003ae5
lea rdx, str.BAD_INDEX
jmp 0x140003b18
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [rdx + rcx], 0
jne 0x140003af0
test rcx, rcx
je 0x140003b18
mov r8, rdx
movzx eax, byte [r8]
sub al, 0x20
cmp al, 0x5e
jbe 0x140003b0f
mov byte [r8], 0x2e
inc r8
sub rcx, 1
jne 0x140003b01
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x140003b20
lea rcx, [rbp + 0x40]
call fcn.140005ef0
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.140003070
mov rbx, rax
lea rax, [rbp + 0x60]
cmp rax, rbx
je 0x140003bc1
mov rdx, qword [rbp + 0x78]
cmp rdx, 0x10
jb 0x140003ba3
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003b9e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003f76
call fcn.140045a90
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], 0xf
mov byte [rbx], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140003eb6
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003bfd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003f76
call fcn.140045a90
jmp 0x140003eb6
cmp al, 0x11
jne 0x140003ee7
mov dword [rsp + 0x78], 2
mov dword [rsp + 0x50], 1
movzx ecx, byte [rdi + 0x12]
test cl, cl
jne 0x140003c30
lea rdx, str.Not_Specified
jmp 0x140003ca8
movzx edx, byte [rdi + 1]
add rdx, rdi
cmp cl, 1
jbe 0x140003c67
nop dword [rax]
cmp byte [rdx], 0
je 0x140003c6c
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rdx + rax], 0
jne 0x140003c50
inc rdx
add rdx, rax
add cl, 0xff
cmp cl, 1
ja 0x140003c40
cmp byte [rdx], 0
jne 0x140003c75
lea rdx, str.BAD_INDEX
jmp 0x140003ca8
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [rdx + rcx], 0
jne 0x140003c80
test rcx, rcx
je 0x140003ca8
mov r8, rdx
movzx eax, byte [r8]
sub al, 0x20
cmp al, 0x5e
jbe 0x140003c9f
mov byte [r8], 0x2e
inc r8
sub rcx, 1
jne 0x140003c91
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 0x140003cc0
lea rcx, [rbp + 0x80]
call fcn.140005ef0
movzx ecx, byte [rdi + 0xc]
test cl, cl
jne 0x140003ce7
lea rdx, str.Not_Specified
jmp 0x140003d58
movzx edx, byte [rbx]
add rdx, rdi
cmp cl, 1
jbe 0x140003d17
cmp byte [rdx], 0
je 0x140003d1c
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rdx + rax], 0
jne 0x140003d00
inc rdx
add rdx, rax
add cl, 0xff
cmp cl, 1
ja 0x140003cf2
cmp byte [rdx], 0
jne 0x140003d25
lea rdx, str.BAD_INDEX
jmp 0x140003d58
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [rdx + rcx], 0
jne 0x140003d30
test rcx, rcx
je 0x140003d58
mov r8, rdx
movzx eax, byte [r8]
sub al, 0x20
cmp al, 0x5e
jbe 0x140003d4f
mov byte [r8], 0x2e
inc r8
sub rcx, 1
jne 0x140003d41
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x140003d60
lea rcx, [rbp + 0xa0]
call fcn.140005ef0
movzx ecx, byte [rdi + 0x17]
test cl, cl
jne 0x140003d87
lea rdx, str.Not_Specified
jmp 0x140003df8
movzx edx, byte [rbx]
add rdx, rdi
cmp cl, 1
jbe 0x140003db7
cmp byte [rdx], 0
je 0x140003dbc
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rdx + rax], 0
jne 0x140003da0
inc rdx
add rdx, rax
add cl, 0xff
cmp cl, 1
ja 0x140003d92
cmp byte [rdx], 0
jne 0x140003dc5
lea rdx, str.BAD_INDEX
jmp 0x140003df8
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [rdx + rcx], 0
jne 0x140003dd0
test rcx, rcx
je 0x140003df8
mov r8, rdx
movzx eax, byte [r8]
sub al, 0x20
cmp al, 0x5e
jbe 0x140003def
mov byte [r8], 0x2e
inc r8
sub rcx, 1
jne 0x140003de1
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x140003e00
lea rcx, [rbp + 0xc0]
call fcn.140005ef0
movzx ecx, byte [rdi + 0x18]
test cl, cl
jne 0x140003e27
lea rdx, str.Not_Specified
jmp 0x140003e98
movzx edx, byte [rbx]
add rdx, rdi
cmp cl, 1
jbe 0x140003e57
cmp byte [rdx], 0
je 0x140003e5c
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rdx + rax], 0
jne 0x140003e40
inc rdx
add rdx, rax
add cl, 0xff
cmp cl, 1
ja 0x140003e32
cmp byte [rdx], 0
jne 0x140003e65
lea rdx, str.BAD_INDEX
jmp 0x140003e98
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [rdx + rcx], 0
jne 0x140003e70
test rcx, rcx
je 0x140003e98
mov r8, rdx
movzx eax, byte [r8]
sub al, 0x20
cmp al, 0x5e
jbe 0x140003e8f
mov byte [r8], 0x2e
inc r8
sub rcx, 1
jne 0x140003e81
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x140003ea0
lea rcx, [rbp + 0xe0]
call fcn.140005ef0
mov rax, qword [r14 + 8]
cmp rax, qword [r14 + 0x10]
je 0x140003ed7
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.1400085c0
add qword [r14 + 8], 0x1b0
jmp 0x140003ee7
lea r8, [rsp + 0x50]
mov rdx, rax
mov rcx, r14
call fcn.140007c10
movzx eax, byte [rdi + 1]
add rdi, rax
cmp word [rdi], 0
je 0x140003efd
inc rdi
cmp word [rdi], 0
jne 0x140003ef4
add rdi, 2
inc r15d
cmp r15d, dword [rbp + 0x104]
jb 0x140003641
lea rcx, [rbp + 0x80]
call fcn.1400043a0
lea rcx, [rbp - 0x20]
call fcn.140004200
lea rcx, [rbp - 0x80]
call fcn.140004100
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x14000359e
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003599
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003599
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