Function at 0x10008420
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 - 0x30], eax
mov dword [ebp - 0x38], esi
call sym._resize_table
test eax, eax
je 0x1000890f
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 - 0x28], eax
mov esi, eax
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0x3c], eax
call eax
mov dword [ebp - 0x24], eax
mov edi, eax
test eax, eax
je 0x1000890f
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0x52534d42
call ebx
mov eax, dword [ebp - 0x30]
mov edx, edi
mov ecx, esi
sub esp, 0x10
mov eax, dword [eax + 0x14]
mov dword [eax], 0
mov dword [eax + 4], str.Default_System_BIOS
mov dword [ebp - 0x20], eax
xor eax, eax
call sym._find_smbios_entry
mov edx, 0xffffffff
test eax, eax
je 0x100084ef
cmp byte [eax + 1], 0x17
jbe 0x100084ef
movzx edx, byte [eax + 0x16]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
mov byte [eax + 8], dl
mov edx, dword [ebp - 0x24]
xor eax, eax
call sym._find_smbios_entry
mov edx, 0xffffffff
test eax, eax
je 0x10008515
cmp byte [eax + 1], 0x17
jbe 0x10008515
movzx edx, byte [eax + 0x17]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov byte [eax + 9], dl
mov edx, 4
mov dword [eax + 0xa], 0
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
xor eax, eax
call sym._get_smbios_string
test eax, eax
je 0x100088b8
mov ecx, dword [ebp - 0x20]
mov edx, 8
mov dword [ecx + 0xe], eax
mov eax, dword [ebp - 0x28]
mov dword [ecx + 0x12], str.Default_System_BIOS
mov ecx, dword [ebp - 0x24]
mov dword [esp], eax
xor eax, eax
call sym._get_smbios_string
mov dword [ebp - 0x34], eax
mov edx, eax
test eax, eax
je 0x10008710
movzx ebx, word [eax]
test bx, bx
je 0x10008710
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x10008580
sub edx, dword [ebp - 0x34]
mov edi, edx
sar edi, 1
je 0x10008710
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x2c], edi
mov edi, esi
mov esi, ebx
jmp 0x100085b7
add edi, 2
dec dword [ebp - 0x2c]
je 0x10008710
movzx esi, word [edi]
movzx ebx, si
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_iswspace]
test eax, eax
jne 0x100085a8
mov dword [ebp - 0x40], ebx
mov ebx, esi
mov esi, edi
mov edi, dword [ebp - 0x2c]
jmp 0x100085df
dec edi
je 0x10008710
movzx eax, word [esi + edi*2 - 2]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_iswspace]
test eax, eax
jne 0x100085d8
mov eax, esi
jmp 0x10008605
add eax, 2
dec edi
je 0x10008710
movzx ebx, word [eax]
lea edx, [ebx - 0x30]
cmp dx, 9
jbe 0x100085f8
mov ecx, eax
sub ecx, esi
cmp ecx, 4
jne 0x10008710
cmp bx, 0x2f
jne 0x10008710
lea ecx, [eax + 2]
dec edi
mov dword [ebp - 0x2c], ecx
mov ebx, ecx
mov edx, edi
jne 0x1000864a
jmp 0x10008710
add ebx, 2
dec edx
je 0x10008710
movzx ecx, word [ebx]
lea edi, [ecx - 0x30]
cmp di, 9
jbe 0x10008640
mov edi, ebx
sub edi, dword [ebp - 0x2c]
cmp edi, 4
jne 0x10008710
cmp cx, 0x2f
jne 0x10008710
movzx ecx, word [eax + 2]
movzx eax, word [eax + 4]
lea edi, [ebx + 2]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*2 - 0x210]
mov ecx, edi
mov dword [ebp - 0x2c], eax
dec edx
jne 0x10008696
jmp 0x10008710
add ecx, 2
dec edx
je 0x100086a2
movzx eax, word [ecx]
sub eax, 0x30
cmp ax, 9
jbe 0x10008690
sub ecx, edi
cmp ecx, 8
je 0x100088e2
cmp ecx, 4
jne 0x10008710
movzx eax, word [ebx + 2]
movzx edx, word [ebx + 4]
lea eax, [eax + eax*4]
lea edi, [edx + eax*2 + 0x55c]
movzx esi, word [esi + 2]
mov eax, dword [ebp - 0x3c]
mov dword [esp], 0x3c
call eax
mov ebx, eax
test eax, eax
je 0x10008710
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0xc], edi
mov dword [esp + 8], str._04u_02u_02u000000.000000000
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x40]
mov dword [esp + 4], 0x1e
lea eax, [eax + eax*4]
mov dword [esp], ebx
lea eax, [esi + eax*2 - 0x210]
mov dword [esp + 0x10], eax
call sym._swprintf
jmp 0x1000871f
mov dword [esp], str.20120608000000.000000000
call dword [sym.imp.ucrtbase.dll__wcsdup]
mov ebx, eax
mov eax, dword [ebp - 0x34]
mov esi, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edx, 5
mov dword [eax + 0x16], ebx
mov dword [eax + 0x1a], str.Serial_number
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
xor eax, eax
call sym._get_smbios_string
test eax, eax
je 0x100088d0
mov ecx, dword [ebp - 0x20]
cmp dword [ebp - 0x28], 7
mov dword [ecx + 0x1e], eax
jbe 0x100088a0
mov ebx, dword [ebp - 0x24]
movzx eax, byte [ebx + 1]
mov word [ecx + 0x22], ax
movzx eax, byte [ebx + 2]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov word [ecx + 0x24], ax
mov ecx, dword [ebp - 0x28]
xor eax, eax
call sym._find_smbios_entry
mov edx, 0xffffffff
test eax, eax
je 0x1000879d
cmp byte [eax + 1], 0x17
jbe 0x1000879d
movzx edx, byte [eax + 0x14]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
mov byte [eax + 0x26], dl
mov edx, dword [ebp - 0x24]
xor eax, eax
call sym._find_smbios_entry
mov edx, 0xffffffff
test eax, eax
je 0x100087c3
cmp byte [eax + 1], 0x17
jbe 0x100087c3
movzx edx, byte [eax + 0x15]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x38]
mov byte [eax + 0x27], dl
mov dword [eax + 0x28], str.WINE_____1
test ecx, ecx
je 0x10008890
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 eax, dword [ebp - 0x30]
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._eval_cond
test eax, eax
jne 0x10008840
mov eax, dword [ebp - 0x14]
or eax, dword [ebp - 0x18]
mov edi, 1
mov ebx, 1
je 0x10008840
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call esi
test byte [0x10021048], 8
jne 0x10008860
mov eax, dword [ebp - 0x30]
mov dword [eax + 0xc], ebx
lea esp, [ebp - 0x10]
mov eax, edi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], 0
xor ebx, ebx
mov dword [esp], eax
call sym._free_row_values
jmp 0x1000881b
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.created__u_rows_n
mov dword [esp + 8], str.fill_bios
mov dword [esp + 4], 0x10021048
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x1000882c
xor edi, edi
mov ebx, 1
jmp 0x1000881b
mov eax, dword [ebp - 0x20]
mov edx, 2
mov word [eax + 0x22], dx
xor eax, eax
jmp 0x10008776
mov dword [esp], str.The_Wine_Project
call dword [sym.imp.ucrtbase.dll__wcsdup]
jmp 0x1000853f
mov dword [esp], str.Wine
call dword [sym.imp.ucrtbase.dll__wcsdup]
jmp 0x10008757
movzx eax, word [ebx + 2]
movzx edx, word [ebx + 8]
imul eax, eax, 0x3e8
lea edx, [eax + edx - 0xd050]
movzx eax, word [ebx + 4]
imul eax, eax, 0x64
add eax, edx
movzx edx, word [ebx + 6]
lea edx, [edx + edx*4]
lea edi, [eax + edx*2]
jmp 0x100086c4
mov edi, 0xffffffff
jmp 0x10008832