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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5489d6
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x588e74]
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 [0x5821cc]
mov ebx, eax
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
test ebx, ebx
je 0x50eb59
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 0x50ea6d
mov edi, ebx
and edi, 0xfffffffc
cmp edi, 0x1000
jb 0x50ea34
lea eax, [edi + 0x23]
cmp eax, edi
jbe 0x50eb6f
push eax
call fcn.00516384
add esp, 4
test eax, eax
je 0x50eb74
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x50ea47
test edi, edi
je 0x50ea45
push edi
call fcn.00516384
add esp, 4
mov esi, eax
jmp 0x50ea47
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.0052ee50
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 [0x5821cc]
mov ebx, dword [ebp - 0x24]
sub edi, ebx
sar edi, 2
test edi, edi
je 0x50eacb
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 0x50eac1
mov eax, edi
cmp edi, ecx
jae 0x50eac1
nop dword [eax]
cmp dword [esi + eax*4], edx
jne 0x50eabc
mov dword [esi + eax*4], 0xffffffff
inc eax
cmp eax, ecx
jb 0x50eab0
add ebx, 4
inc edi
sub dword [ebp - 0x24], 1
jne 0x50eaa0
mov edi, esi
xor ebx, ebx
cmp edi, dword [ebp - 0x20]
je 0x50eafa
mov esi, dword [ebp - 0x20]
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x50eaf0
push 0
push 0
push eax
push 0x41435049
call dword [0x5821d0]
add ebx, eax
add edi, 4
cmp edi, esi
jne 0x50ead7
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x2c]
mov ecx, edi
push ebx
call fcn.004aad40
mov ebx, dword [edi]
mov edi, dword [edi + 4]
sub edi, ebx
cmp esi, dword [ebp - 0x20]
je 0x50eb32
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x50eb2a
push edi
push ebx
push eax
push 0x41435049
call dword [0x5821d0]
add ebx, eax
sub edi, eax
add esi, 4
cmp esi, dword [ebp - 0x20]
jne 0x50eb11
lea ecx, [ebp - 0x1c]
call fcn.004668e0
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.005168d0
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x1c]
call fcn.0050e7c0
push 0x57ee60
lea eax, [ebp - 0x1c]
push eax
call fcn.0052e4a7
call fcn.0046d260
call fcn.004d2584
int3