Function at 0x5a04c0
Capabilities:
Enumerate system firmware tables
Get system firmware table

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e7e76
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x616930]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], eax
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
push 0
push 0
push 0x41435049
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 1
call dword [sym.imp.KERNEL32.dll_EnumSystemFirmwareTables]
mov ebx, eax
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
test ebx, ebx
je 0x5a06c9
xor eax, eax
xor esi, esi
xor edi, edi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], eax
cmp ebx, 4
jb 0x5a05dd
mov edi, ebx
and edi, 0xfffffffc
cmp edi, 0x1000
jb 0x5a05a4
lea eax, [edi + 0x23]
cmp eax, edi
jbe 0x5a06df
push eax
call fcn.005bc4c7
add esp, 4
test eax, eax
je 0x5a06e4
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x5a05b7
test edi, edi
je 0x5a05b5
push edi
call fcn.005bc4c7
add esp, 4
mov esi, eax
jmp 0x5a05b7
xor esi, esi
push edi
lea eax, [edi + esi]
mov dword [ebp - 0x28], esi
push 0
push esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], eax
call fcn.005be800
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov dword [ebp - 0x18], eax
mov edi, eax
mov dword [ebp - 0x24], esi
push ebx
push esi
push 0x41435049
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_EnumSystemFirmwareTables]
mov ebx, dword [ebp - 0x24]
sub edi, ebx
sar edi, 2
test edi, edi
je 0x5a063b
mov ecx, dword [ebp - 0x20]
mov edi, 1
sub ecx, esi
sar ecx, 2
mov dword [ebp - 0x24], ecx
nop dword [eax]
mov edx, dword [ebx]
cmp edx, 0xffffffff
je 0x5a0631
mov eax, edi
cmp edi, ecx
jae 0x5a0631
nop dword [eax]
cmp dword [esi + eax*4], edx
jne 0x5a062c
mov dword [esi + eax*4], 0xffffffff
inc eax
cmp eax, ecx
jb 0x5a0620
add ebx, 4
inc edi
sub dword [ebp - 0x24], 1
jne 0x5a0610
mov edi, esi
xor ebx, ebx
cmp edi, dword [ebp - 0x20]
je 0x5a066a
mov esi, dword [ebp - 0x20]
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x5a0660
push 0
push 0
push eax
push 0x41435049
call dword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
add ebx, eax
add edi, 4
cmp edi, esi
jne 0x5a0647
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x2c]
mov ecx, edi
push ebx
call fcn.0049dac0
mov ebx, dword [edi]
mov edi, dword [edi + 4]
sub edi, ebx
cmp esi, dword [ebp - 0x20]
je 0x5a06a2
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x5a069a
push edi
push ebx
push eax
push 0x41435049
call dword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
add ebx, eax
sub edi, eax
add esi, 4
cmp esi, dword [ebp - 0x20]
jne 0x5a0681
lea ecx, [ebp - 0x1c]
call fcn.00452610
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005bca10
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x1c]
call fcn.005a0330
push 0x609b04
lea eax, [ebp - 0x1c]
push eax
call fcn.005bde57
call fcn.00459310
call fcn.004d7f94
int3