Function at 0x10007df0
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, 0x34
mov eax, dword [ecx]
mov edi, dword [ecx + 4]
mov ecx, 0x1c
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edi
call sym._resize_table
test eax, eax
je 0x100080c0
mov dword [esp + 0xc], 0
mov esi, dword [sym.imp.kernel32.dll_GetSystemFirmwareTable]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x52534d42
call esi
mov edi, dword [sym.imp.ucrtbase.dll_malloc]
sub esp, 0x10
mov dword [ebp - 0x20], eax
mov dword [esp], eax
call edi
mov ebx, eax
test eax, eax
je 0x100080c0
mov eax, dword [ebp - 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp + 0xc], eax
mov dword [esp], 0x52534d42
call esi
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov eax, 3
sub esp, 0x10
mov esi, dword [edx + 0x14]
mov edx, ebx
mov dword [esi], str.System_Enclosure
call sym._find_smbios_entry
test eax, eax
je 0x10007eb3
cmp byte [eax + 1], 8
mov dword [ebp - 0x2c], eax
ja 0x10007fd8
mov dword [esp], 0xc
call edi
test eax, eax
je 0x100080de
mov dword [ebp - 0x2c], eax
mov dword [esp], 2
call edi
mov edx, dword [ebp - 0x2c]
mov dword [edx + 8], eax
test eax, eax
je 0x100080cc
movzx ecx, word [0x10021798]
mov dword [edx], 2
mov dword [edx + 4], 1
mov edi, dword [sym.imp.ucrtbase.dll_free]
mov word [eax], cx
mov dword [esi + 4], edx
mov ecx, dword [ebp - 0x20]
mov edx, ebx
mov eax, 3
mov dword [esi + 8], str.System_Enclosure
call sym._find_smbios_entry
xor edx, edx
test eax, eax
je 0x10007f27
cmp byte [eax + 1], 8
jbe 0x10007f27
movsx edx, byte [eax + 5]
sar edx, 0x1f
mov eax, dword [ebp - 0x20]
mov dword [esi + 0xc], edx
mov ecx, ebx
mov edx, 4
mov dword [esp], eax
mov eax, 3
call sym._get_smbios_string
test eax, eax
je 0x100080a8
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], str.System_Enclosure
mov dword [esi + 0x18], str.System_Enclosure_0
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x10008090
lea eax, [ebp - 0x1c]
mov dword [esp + 8], esi
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x18]
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call sym._eval_cond
test eax, eax
jne 0x10008030
mov eax, dword [ebp - 0x18]
or eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], 1
mov esi, 1
je 0x10008037
mov dword [esp], ebx
call edi
test byte [0x1002179c], 8
jne 0x1000805e
mov eax, dword [ebp - 0x24]
mov dword [eax + 0xc], esi
mov eax, dword [ebp - 0x20]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov dword [esp], 0xc
call edi
test eax, eax
mov dword [ebp - 0x30], eax
je 0x10007eb3
mov dword [esp], 2
call edi
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
test eax, eax
je 0x100080cc
movzx ecx, byte [ecx + 5]
mov edi, dword [sym.imp.ucrtbase.dll_free]
mov dword [edx], 2
mov dword [edx + 4], 1
and cl, 0x7f
mov dword [edx + 8], eax
mov word [eax], cx
jmp 0x10007efb
mov dword [ebp - 0x20], 0xffffffff
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x24]
xor esi, esi
mov dword [esp], eax
call sym._free_row_values
mov dword [esp], ebx
call edi
test byte [0x1002179c], 8
je 0x10007fbc
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.created__u_rows_n
mov dword [esp + 8], str.fill_systemenclosure
mov dword [esp + 4], 0x1002179c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x10007fbc
mov dword [ebp - 0x20], 0
mov esi, 1
jmp 0x10007faa
mov dword [esp], str.Proton
call dword [sym.imp.ucrtbase.dll__wcsdup]
jmp 0x10007f49
mov dword [ebp - 0x20], 0xffffffff
jmp 0x10007fc2
mov dword [esp], edx
mov edi, dword [sym.imp.ucrtbase.dll_free]
call edi
xor edx, edx
jmp 0x10007efb
mov edi, dword [sym.imp.ucrtbase.dll_free]
xor edx, edx
jmp 0x10007efb