Function at 0x10085d90
Capabilities:
Get system firmware table

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e1722
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x1026ebc4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x6c], eax
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea ecx, [eax + 0x18]
mov dword [ebp - 4], 0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov dword [ebp - 0x58], ecx
mov byte [ecx], 0
lea ecx, [eax + 0x30]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov dword [ebp - 0x5c], ecx
mov byte [ecx], 0
lea ecx, [eax + 0x48]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov dword [ebp - 0x60], ecx
mov byte [ecx], 0
lea ecx, [eax + 0x60]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov dword [ebp - 0x54], ecx
mov byte [ecx], 0
lea ecx, [eax + 0x78]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov dword [ebp - 0x68], ecx
mov byte [ecx], 0
add eax, 0x90
mov dword [ebp - 0x64], eax
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push 0
push 0
push 0
mov byte [ebp - 4], 6
mov edi, dword [sym.imp.KERNEL32.DLL_GetSystemFirmwareTable]
push 0x52534d42
call edi
mov esi, eax
test esi, esi
je 0x10085ed4
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [ebp - 0x50], eax
push esi
push eax
push 0
push 0x52534d42
call edi
cmp eax, esi
je 0x10085ef2
push dword [ebp - 0x50]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101d9510
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x50]
test edi, edi
je 0x10085ed4
mov edx, dword [edi + 4]
lea esi, [edi + 8]
add edx, 8
add edx, edi
cmp esi, edx
jae 0x1008611c
mov dword [ebp - 0x50], edi
nop
mov al, byte [esi + 1]
cmp al, 4
jb 0x1008611c
cmp byte [esi], 1
jne 0x10085f24
cmp al, 0x19
jae 0x10085f5e
movzx eax, al
add eax, esi
cmp eax, edx
jae 0x10085f43
nop dword [eax]
cmp byte [eax], 0
lea ecx, [eax + 1]
jne 0x10085f3d
cmp byte [ecx], 0
je 0x10085f43
mov eax, ecx
cmp eax, edx
jb 0x10085f30
lea esi, [eax + 2]
cmp esi, edx
jb 0x10085f10
mov esi, dword [ebp - 0x48]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, esi
jmp 0x10085ed7
movzx edx, byte [esi + 4]
movzx eax, al
add eax, esi
push ecx
mov ecx, eax
mov dword [ebp - 0x4c], eax
call fcn.10085d50
mov edi, eax
add esp, 4
lea ecx, [edi + 1]
nop word [eax + eax]
mov dl, byte [edi]
inc edi
test dl, dl
jne 0x10085f80
sub edi, ecx
mov ecx, dword [ebp - 0x58]
push edi
push eax
call fcn.100505a0
movzx edx, byte [esi + 5]
push ecx
mov ecx, dword [ebp - 0x4c]
call fcn.10085d50
mov edi, eax
add esp, 4
lea ecx, [edi + 1]
mov dl, byte [edi]
inc edi
test dl, dl
jne 0x10085fa8
sub edi, ecx
mov ecx, dword [ebp - 0x5c]
push edi
push eax
call fcn.100505a0
movzx edx, byte [esi + 7]
push ecx
mov ecx, dword [ebp - 0x4c]
call fcn.10085d50
mov edi, eax
add esp, 4
lea ecx, [edi + 1]
mov dl, byte [edi]
inc edi
test dl, dl
jne 0x10085fd0
sub edi, ecx
mov ecx, dword [ebp - 0x60]
push edi
push eax
call fcn.100505a0
movzx edx, byte [esi + 6]
push ecx
mov ecx, dword [ebp - 0x4c]
call fcn.10085d50
mov edi, eax
add esp, 4
lea ecx, [edi + 1]
mov dl, byte [edi]
inc edi
test dl, dl
jne 0x10085ff8
sub edi, ecx
mov ecx, dword [ebp - 0x64]
push edi
push eax
call fcn.100505a0
cmp byte [esi + 1], 8
jbe 0x100860a6
push 0x32
lea eax, [ebp - 0x44]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
movzx eax, byte [esi + 0x17]
push eax
movzx eax, byte [esi + 0x16]
push eax
movzx eax, byte [esi + 0x15]
push eax
movzx eax, byte [esi + 0x14]
push eax
movzx eax, byte [esi + 0x13]
push eax
movzx eax, byte [esi + 0x12]
push eax
movzx eax, byte [esi + 0x11]
push eax
movzx eax, byte [esi + 0x10]
push eax
movzx eax, byte [esi + 0xf]
push eax
movzx eax, byte [esi + 0xe]
push eax
movzx eax, byte [esi + 0xd]
push eax
movzx eax, byte [esi + 0xc]
push eax
movzx eax, byte [esi + 0xb]
push eax
movzx eax, byte [esi + 0xa]
push eax
movzx eax, byte [esi + 9]
push eax
movzx eax, byte [esi + 8]
push eax
push 0x1025c090
push 0x31
lea eax, [ebp - 0x44]
push 0x32
push eax
call fcn.10085d10
lea edx, [ebp - 0x44]
add esp, 0x5c
lea edi, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x10086090
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x44]
sub edx, edi
push edx
push eax
call fcn.100505a0
cmp byte [esi + 1], 0x19
jbe 0x10086119
movzx edx, byte [esi + 0x19]
push ecx
mov ecx, dword [ebp - 0x4c]
call fcn.10085d50
mov edi, eax
add esp, 4
lea ecx, [edi + 1]
mov dl, byte [edi]
inc edi
test dl, dl
jne 0x100860c1
sub edi, ecx
mov ecx, dword [ebp - 0x54]
push edi
push eax
call fcn.100505a0
movzx edx, byte [esi + 0x1a]
push ecx
mov ecx, dword [ebp - 0x4c]
call fcn.10085d50
mov edx, eax
add esp, 4
lea esi, [edx + 1]
nop dword [eax]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x100860f0
sub edx, esi
mov esi, dword [ebp - 0x48]
push edx
push eax
mov ecx, esi
call fcn.100505a0
mov edi, dword [ebp - 0x50]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, esi
jmp 0x10085ed7
mov edi, dword [ebp - 0x50]
mov esi, dword [ebp - 0x48]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, esi
jmp 0x10085ed7