Function at 0x414180
Capabilities:
Get system firmware table

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55e249
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x5b7de4]
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, dword [ebp + 8]
mov ecx, eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x44], 0
push 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
push 0x5707b4
mov dword [ebp - 4], 0
mov dword [ebp - 0x48], eax
mov byte [eax], 0
call fcn.0040a4a0
mov edi, dword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
push 0
push 0
push 0
push 0x52534d42
mov dword [ebp - 4], 0
mov dword [ebp - 0x44], 1
call edi
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x4143c5
push esi
push eax
push 0
push 0x52534d42
call edi
cmp eax, esi
jne 0x4143b3
mov esi, dword [ebp - 0x4c]
add esi, 8
cmp byte [esi], 2
je 0x414266
nop dword [eax]
movzx eax, byte [esi + 1]
add esi, eax
je 0x414266
mov eax, esi
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x414250
sub eax, edx
inc esi
add esi, eax
cmp byte [esi], cl
jne 0x414248
inc esi
cmp byte [esi], 2
jne 0x414240
movzx eax, byte [esi + 1]
mov edi, 1
mov cl, byte [esi + 7]
add esi, eax
movzx eax, cl
mov dword [ebp - 0x50], eax
cmp eax, edi
jbe 0x414396
push 1
push 0x571e74
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.0040a4a0
mov ecx, esi
mov dword [ebp - 4], 1
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4142b0
sub ecx, edx
push ecx
push esi
push 0
lea ecx, [ebp - 0x40]
call fcn.0040a590
or dword [ebp - 0x44], 2
movups xmm1, xmmword [eax]
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
movups xmmword [ebp - 0x28], xmm1
mov byte [eax], 0
movq qword [ebp - 0x18], xmm0
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
push dword [ebp - 0x18]
movd eax, xmm1
mov byte [ebp - 4], 2
cmovae ecx, eax
push ecx
mov ecx, dword [ebp - 0x48]
call fcn.0040a340
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x414341
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x414337
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4143e5
push edx
push ecx
call fcn.005189ee
add esp, 8
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x414375
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41436b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4143e5
push edx
push ecx
call fcn.005189ee
add esp, 8
mov ecx, esi
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x414380
sub ecx, edx
inc esi
inc edi
add esi, ecx
cmp edi, dword [ebp - 0x50]
jl 0x414282
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4143a0
sub ecx, edx
push ecx
mov ecx, dword [ebp - 0x48]
push esi
call fcn.0040a340
push dword [ebp - 0x4c]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
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.005189ad
mov esp, ebp
pop ebp
ret 4
call fcn.00545078
int3