Function at 0x440000
Capabilities:
Get system firmware table

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495ae8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
push 0
push 0
push 0
push 0x52534d42
call edi
mov esi, eax
test esi, esi
je 0x440283
push ebx
push 1
push esi
call fcn.0046b1af
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x440282
push esi
push ebx
push 0
push 0x52534d42
call edi
test eax, eax
je 0x440279
cmp esi, eax
jne 0x440279
mov edi, dword [ebx + 4]
lea esi, [ebx + 8]
xor edx, edx
test edi, edi
je 0x440279
nop dword [eax]
cmp byte [esi], 1
je 0x4400bc
movzx eax, byte [esi + 1]
mov ecx, eax
cmp word [ecx + esi], 0
je 0x44009a
inc ecx
cmp word [ecx + esi], 0
jne 0x440092
add edx, 2
add edx, ecx
cmp word [eax + esi], 0
je 0x4400ae
inc eax
cmp word [eax + esi], 0
jne 0x4400a6
add esi, 2
add esi, eax
cmp edx, edi
jb 0x440080
jmp 0x440279
movzx eax, byte [esi + 4]
push esi
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004402a0
mov dword [ebp - 4], 0
mov ecx, 0x4cd54c
push eax
call fcn.00409ab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00408c20
movzx eax, byte [esi + 6]
push esi
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004402a0
mov dword [ebp - 4], 1
mov ecx, 0x4cd554
push eax
call fcn.00409ab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00408c20
movzx eax, byte [esi + 7]
push esi
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004402a0
mov dword [ebp - 4], 2
mov ecx, 0x4cd558
push eax
call fcn.00409ab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00408c20
cmp byte [esi + 1], 8
jbe 0x440213
mov edx, dword [0x4cd55c]
mov ecx, 1
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, 0x20
or eax, ecx
jge 0x440180
push 0x20
mov ecx, 0x4cd55c
call fcn.0040a230
mov edx, dword [0x4cd55c]
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 str._02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [0x4cd55c]
push dword [eax - 8]
push eax
call fcn.0046af74
mov ecx, eax
add esp, 0x50
test ecx, ecx
js 0x440293
mov eax, dword [0x4cd55c]
cmp ecx, dword [eax - 8]
jg 0x440293
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [0x4cd55c]
mov word [eax + ecx*2], dx
cmp byte [esi + 1], 0x19
jbe 0x440279
movzx eax, byte [esi + 0x19]
push esi
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004402a0
mov dword [ebp - 4], 3
mov ecx, 0x4cd560
push eax
call fcn.00409ab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00408c20
movzx eax, byte [esi + 0x1a]
push esi
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004402a0
mov dword [ebp - 4], 4
mov ecx, 0x4cd564
push eax
call fcn.00409ab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00408c20
push ebx
call fcn.004671f7
add esp, 4
pop ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00401e50
int3