Function at 0x100089b0
Capabilities:
Get system firmware table

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff8
mov edx, 1
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x48
mov eax, dword [ecx]
mov esi, dword [ecx + 4]
mov ecx, 0x2c
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x30], esi
call sym._resize_table
test eax, eax
je 0x10008e7e
mov dword [esp + 0xc], 0
mov ebx, dword [sym.imp.kernel32.dll_GetSystemFirmwareTable]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x52534d42
call ebx
sub esp, 0x10
mov dword [ebp - 0x24], eax
mov edi, eax
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0x34], eax
call eax
test eax, eax
je 0x10008e7e
mov dword [esp + 0xc], edi
mov dword [ebp - 0x20], eax
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0x52534d42
call ebx
mov esi, dword [ebp - 0x28]
mov edx, dword [ebp - 0x20]
mov ecx, edi
sub esp, 0x10
xor eax, eax
mov esi, dword [esi + 0x14]
mov dword [esi], 0
mov dword [esi + 4], str.Default_System_BIOS
call sym._find_smbios_entry
mov edx, 0xffffffff
test eax, eax
je 0x10008a7b
cmp byte [eax + 1], 0x17
jbe 0x10008a7b
movzx edx, byte [eax + 0x16]
mov byte [esi + 8], dl
mov ecx, dword [ebp - 0x24]
xor eax, eax
mov edx, dword [ebp - 0x20]
call sym._find_smbios_entry
mov edx, 0xffffffff
test eax, eax
je 0x10008a9e
cmp byte [eax + 1], 0x17
jbe 0x10008a9e
movzx edx, byte [eax + 0x17]
mov eax, dword [ebp - 0x24]
mov byte [esi + 9], dl
mov edx, 4
mov dword [esi + 0xa], 0
mov dword [esp], eax
mov ecx, dword [ebp - 0x20]
xor eax, eax
call sym._get_smbios_string
test eax, eax
je 0x10008e20
mov dword [esi + 0xe], eax
mov eax, dword [ebp - 0x24]
mov edx, 8
mov dword [esi + 0x12], str.Default_System_BIOS
mov dword [esp], eax
mov ecx, dword [ebp - 0x20]
xor eax, eax
call sym._get_smbios_string
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x10008c90
cmp word [eax], 0
je 0x10008c90
mov ebx, eax
lea esi, [esi]
nop
add ebx, 2
cmp word [ebx], 0
jne 0x10008b00
mov eax, dword [ebp - 0x2c]
sub ebx, eax
sar ebx, 1
je 0x10008c90
mov edi, dword [ebp - 0x2c]
jmp 0x10008b2c
add edi, 2
sub ebx, 1
je 0x10008c90
movzx eax, word [edi]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_iswspace]
test eax, eax
jne 0x10008b20
jmp 0x10008b49
sub ebx, 1
je 0x10008c90
movzx eax, word [edi + ebx*2 - 2]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_iswspace]
test eax, eax
jne 0x10008b40
mov eax, edi
jmp 0x10008b6c
add eax, 2
sub ebx, 1
je 0x10008c90
movzx ecx, word [eax]
lea edx, [ecx - 0x30]
cmp dx, 9
jbe 0x10008b60
mov ecx, eax
sub ecx, edi
cmp ecx, 4
jne 0x10008c90
cmp word [eax], 0x2f
jne 0x10008c90
movzx ecx, word [edi]
mov word [ebp - 0x36], cx
movzx ecx, word [edi + 2]
mov word [ebp - 0x38], cx
lea ecx, [eax + 2]
mov edx, ecx
sub ebx, 1
jne 0x10008bbc
jmp 0x10008c90
add edx, 2
sub ebx, 1
je 0x10008c90
movzx edi, word [edx]
sub edi, 0x30
cmp di, 9
jbe 0x10008bb0
mov edi, edx
sub edi, ecx
cmp edi, 4
jne 0x10008c90
cmp word [edx], 0x2f
jne 0x10008c90
movzx ecx, word [eax + 2]
movzx eax, word [eax + 4]
lea edi, [edx + 2]
lea ecx, [ecx + ecx*4 - 0xf0]
lea eax, [eax + ecx*2 - 0x30]
mov ecx, edi
mov dword [ebp - 0x3c], eax
sub ebx, 1
jne 0x10008c10
jmp 0x10008c90
add ecx, 2
sub ebx, 1
je 0x10008c1c
movzx eax, word [ecx]
sub eax, 0x30
cmp ax, 9
jbe 0x10008c08
sub ecx, edi
cmp ecx, 8
je 0x10008e4a
cmp ecx, 4
jne 0x10008c90
movzx eax, word [edx + 2]
movzx edx, word [edx + 4]
lea eax, [eax + eax*4]
lea ebx, [edx + eax*2 + 0x55c]
mov dword [esp], 0x3c
mov eax, dword [ebp - 0x34]
call eax
mov edi, eax
test eax, eax
je 0x10008c90
mov eax, dword [ebp - 0x3c]
mov dword [esp + 0x14], eax
movzx eax, word [ebp - 0x36]
lea edx, [eax + eax*4 - 0xf0]
movzx eax, word [ebp - 0x38]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], str._04u_02u_02u000000.000000000
lea eax, [eax + edx*2 - 0x30]
mov dword [esp + 4], 0x1e
mov dword [esp + 0x10], eax
mov dword [esp], edi
call sym._swprintf
jmp 0x10008c9f
mov dword [esp], str.20120608000000.000000000
call dword [sym.imp.ucrtbase.dll__wcsdup]
mov edi, eax
mov eax, dword [ebp - 0x2c]
mov ebx, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x16], edi
mov edx, 5
mov dword [esi + 0x1a], str.Serial_number
mov dword [esp], eax
mov ecx, dword [ebp - 0x20]
xor eax, eax
call sym._get_smbios_string
test eax, eax
je 0x10008e38
cmp dword [ebp - 0x24], 7
mov dword [esi + 0x1e], eax
jbe 0x10008e10
mov edx, dword [ebp - 0x20]
movzx eax, byte [edx + 1]
mov word [esi + 0x22], ax
movzx eax, byte [edx + 2]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov word [esi + 0x24], ax
xor eax, eax
call sym._find_smbios_entry
mov edx, 0xffffffff
test eax, eax
je 0x10008d14
cmp byte [eax + 1], 0x17
jbe 0x10008d14
movzx edx, byte [eax + 0x14]
mov byte [esi + 0x26], dl
mov ecx, dword [ebp - 0x24]
xor eax, eax
mov edx, dword [ebp - 0x20]
call sym._find_smbios_entry
mov edx, 0xffffffff
test eax, eax
je 0x10008d37
cmp byte [eax + 1], 0x17
jbe 0x10008d37
movzx edx, byte [eax + 0x15]
mov ecx, dword [ebp - 0x30]
mov byte [esi + 0x27], dl
mov dword [esi + 0x28], str.PROTON___1
test ecx, ecx
je 0x10008e00
lea eax, [ebp - 0x1c]
mov dword [esp + 8], ecx
mov edi, 0xffffffff
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x18]
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call sym._eval_cond
test eax, eax
jne 0x10008db8
mov eax, dword [ebp - 0x18]
or eax, dword [ebp - 0x14]
mov edi, 1
mov esi, 1
je 0x10008db8
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call ebx
test byte [0x1002179c], 8
jne 0x10008dd0
mov eax, dword [ebp - 0x28]
mov dword [eax + 0xc], esi
lea esp, [ebp - 0x10]
mov eax, edi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x28]
xor esi, esi
mov dword [esp], eax
call sym._free_row_values
jmp 0x10008d8c
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.created__u_rows_n
mov dword [esp + 8], str.fill_bios
mov dword [esp + 4], 0x1002179c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x10008d9d
xor edi, edi
mov esi, 1
jmp 0x10008d8c
mov eax, 2
mov word [esi + 0x22], ax
xor eax, eax
jmp 0x10008cf0
mov dword [esp], str.The_Proton_Project
call dword [sym.imp.ucrtbase.dll__wcsdup]
jmp 0x10008ac5
mov dword [esp], str.Proton
call dword [sym.imp.ucrtbase.dll__wcsdup]
jmp 0x10008cd4
movzx eax, word [edx + 2]
sub eax, 0x30
imul ecx, eax, 0x3e8
movzx eax, word [edx + 4]
sub eax, 0x30
imul eax, eax, 0x64
add ecx, eax
movzx eax, word [edx + 6]
movzx edx, word [edx + 8]
lea eax, [eax + eax*4 - 0xf0]
lea eax, [ecx + eax*2]
lea ebx, [eax + edx - 0x30]
jmp 0x10008c3e
mov edi, 0xffffffff
jmp 0x10008da3