Function at 0x1009e5d0
Capabilities:
Get system firmware table

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x1012c208]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
push esi
push edi
push 0
push 0
push 0
push 0x52534d42
mov byte [0x11d2e0e8], 0
mov byte [0x11d2e1b0], 0
call ebx
mov edi, eax
test edi, edi
je 0x1009e866
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push edi
mov esi, eax
push esi
push 0
push 0x52534d42
call ebx
test esi, esi
je 0x1009e866
xor ecx, ecx
test ecx, ecx
jne 0x1009e63a
lea ecx, [esi + 8]
jmp 0x1009e65d
movzx eax, byte [ecx + 1]
add eax, ecx
cmp byte [eax], 0
jne 0x1009e64b
cmp byte [eax + 1], 0
je 0x1009e64e
inc eax
jmp 0x1009e640
lea ecx, [eax + 2]
mov eax, dword [esi + 4]
add eax, 8
add eax, esi
cmp ecx, eax
jae 0x1009e6b8
test ecx, ecx
je 0x1009e6b8
cmp byte [ecx], 1
jne 0x1009e631
lea edi, [ecx + 8]
mov ebx, 0x10
nop
mov ecx, 0x11d2e1b0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1009e678
movzx eax, byte [edi]
push eax
sub ecx, edx
jne 0x1009e69b
push str._02x
push 0x11d2e1b0
call fcn.10018300
add esp, 0xc
jmp 0x1009e6b2
push 0x11d2e1b0
push str._s_02x
push 0x11d2e1b0
call fcn.10018300
add esp, 0x10
inc edi
sub ebx, 1
jne 0x1009e670
push 0x11d2e1b0
push 0x1010de54
push 0x11d2e0e8
call fcn.10018300
add esp, 0xc
mov byte [0x11d2e1b0], 0
xor ecx, ecx
test ecx, ecx
jne 0x1009e6e1
lea ecx, [esi + 8]
jmp 0x1009e708
movzx eax, byte [ecx + 1]
add eax, ecx
cmp byte [eax], 0
jne 0x1009e6f2
cmp byte [eax + 1], 0
je 0x1009e6f5
inc eax
jmp 0x1009e6e7
lea ecx, [eax + 2]
mov eax, dword [esi + 4]
add eax, 8
add eax, esi
cmp ecx, eax
jae 0x1009e79b
test ecx, ecx
je 0x1009e79b
cmp byte [ecx], 2
jne 0x1009e6d8
mov al, byte [ecx + 7]
xor edx, edx
mov word [ebp - 0x808], dx
test al, al
je 0x1009e785
lea edi, [edx + 1]
movzx edx, byte [ecx + 1]
add edx, ecx
cmp byte [edx], 0
je 0x1009e785
movzx eax, al
mov dword [ebp - 0x80c], eax
nop dword [eax]
cmp edi, eax
je 0x1009e769
mov ecx, edx
lea ebx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1009e750
sub ecx, ebx
inc edx
add edx, ecx
inc edi
cmp byte [edx], al
mov eax, dword [ebp - 0x80c]
jne 0x1009e740
jmp 0x1009e785
push 0x400
lea eax, [ebp - 0x808]
push eax
push 0xffffffffffffffff
push edx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0x41
lea eax, [ebp - 0x808]
push eax
push 0x11d2e1b0
call fcn.100d3b01
add esp, 0xc
push 0x11d2e1b0
push 0x11d2e0e8
push str._s_s
push 0x11d2e0e8
call fcn.10018300
add esp, 0x10
mov byte [0x11d2e1b0], 0
xor ecx, ecx
test ecx, ecx
jne 0x1009e7c9
lea ecx, [esi + 8]
jmp 0x1009e7ed
movzx eax, byte [ecx + 1]
add eax, ecx
nop
cmp byte [eax], 0
jne 0x1009e7db
cmp byte [eax + 1], 0
je 0x1009e7de
inc eax
jmp 0x1009e7d0
lea ecx, [eax + 2]
mov eax, dword [esi + 4]
add eax, 8
add eax, esi
cmp ecx, eax
jae 0x1009e848
test ecx, ecx
je 0x1009e848
cmp byte [ecx], 4
jne 0x1009e7c0
lea esi, [ecx + 8]
mov edi, 8
nop
mov ecx, 0x11d2e1b0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1009e808
movzx eax, byte [esi]
push eax
sub ecx, edx
jne 0x1009e82b
push str._02x
push 0x11d2e1b0
call fcn.10018300
add esp, 0xc
jmp 0x1009e842
push 0x11d2e1b0
push str._s_02x
push 0x11d2e1b0
call fcn.10018300
add esp, 0x10
inc esi
sub edi, 1
jne 0x1009e800
push 0x11d2e1b0
push 0x11d2e0e8
push str._s_s
push 0x11d2e0e8
call fcn.10018300
add esp, 0x10
jmp 0x1009e878
push str.Not_Found1Not_Found2Not_Found3
push 0x11d2e0e8
call fcn.10018300
add esp, 8
mov ecx, 0x11d2e0e8
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1009e880
sub ecx, edx
mov dl, 4
push ecx
push 0x11d2e0e8
mov ecx, str.uniq
call fcn.1008ab60
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.100bfded
mov esp, ebp
pop ebp
ret