Function at 0x41fdc5
Capabilities:
Get system firmware table

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], esp
push 0
mov eax, dword [ebp - 8]
test eax, eax
je 0x41fe1f
add eax, 8
push eax
push 0
push 0x52534d42
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x41fe50
push 0xd5
push 0x401234e
push 6
call fcn.005080bc
add esp, 0xc
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x1bc
call fcn.00509420
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41fe86
push ebx
call fcn.005080b0
add esp, 4
pop eax
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 1
jge 0x41fe9e
mov eax, 0x52b36d
jmp 0x4206d4
mov dword [ebp - 0x28], esp
push dword [ebp - 4]
mov eax, dword [ebp - 8]
test eax, eax
je 0x41feae
add eax, 8
push eax
push 0
push 0x52534d42
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x41fedf
push 0x190
push 0x401234e
push 6
call fcn.005080bc
add esp, 0xc
cmp dword [ebp - 4], 1
jge 0x41fef3
mov eax, 0x52b36d
jmp 0x4206d4
mov dword [ebp - 0xc], 9
mov ebx, dword [ebp - 8]
call fcn.004028df
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x41ff21
push 0x2a5
push 0x401234e
push 4
call fcn.005080bc
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x41ff3e
push 0x2a5
push 0x401234e
push 1
call fcn.005080bc
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
cmp byte [ebx], 1
jne 0x41ff54
jmp 0x4200c4
mov ebx, dword [ebp - 8]
call fcn.004028df
push ebx
push ecx
fild dword [ebp - 0xc]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fadd qword [0x52b4e3]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
call fcn.0040101b
dec eax
jns 0x41ff92
push 0x318
push 0x401234e
push 4
call fcn.005080bc
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x41ffaf
push 0x318
push 0x401234e
push 1
call fcn.005080bc
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x38]
mov al, byte [ebx]
and eax, 0xff
mov dword [ebp - 0x10], eax
fild dword [ebp - 0xc]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fild dword [ebp - 0x10]
fstp qword [ebp - 0x34]
fadd qword [ebp - 0x34]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
call fcn.0040101b
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
call fcn.004028df
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x420008
push 0x442
push 0x401234e
push 4
call fcn.005080bc
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x420025
push 0x442
push 0x401234e
push 1
call fcn.005080bc
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
cmp byte [ebx], 0
jne 0x4200a6
mov ebx, dword [ebp - 8]
call fcn.004028df
push ebx
push ecx
fild dword [ebp - 0xc]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fadd qword [0x52b4e3]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
call fcn.0040101b
dec eax
jns 0x420074
push 0x485
push 0x401234e
push 4
call fcn.005080bc
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x420091
push 0x485
push 0x401234e
push 1
call fcn.005080bc
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 0x40]
cmp byte [ebx], 0
jne 0x4200a6
xor eax, eax
jmp 0x4200ab
mov eax, 1
test eax, eax
je 0x4200bb
inc dword [ebp - 0xc]
jmp 0x41ffe1
add dword [ebp - 0xc], 2
jmp 0x41fefa
add dword [ebp - 0xc], 8
push 0xa0000301
push 0
lea eax, [ebp - 0xc]
push eax
push 0x80000301
push 0
push 3
push VariantCopy
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4200f2
mov eax, 0x52b2d1
push eax
push 3
mov ebx, 0x19c
call fcn.00509550
add esp, 0x28
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
cmp ecx, 0x80000101
jne 0x420126
and eax, 0xff
jmp 0x42017b
cmp ecx, 0x80000201
jne 0x420131
cwde
jmp 0x42017b
cmp ecx, 0x80000301
je 0x42017b
cmp ecx, 0x80000401
je 0x42017b
mov dword [ebp - 0x38], eax
cmp ecx, 0x80000501
je 0x42016b
cmp ecx, 0x80000601
je 0x420170
push 0x5ad
push 0x401234e
push 2
call fcn.005080bc
add esp, 0xc
fld dword [ebp - 0x38]
jmp 0x420176
mov dword [ebp - 0x34], edx
fld qword [ebp - 0x38]
call fcn.0040101b
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
cdq
push edx
push eax
call fcn.0042071a
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4201ac
push ebx
call fcn.005080b0
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 0xc]
push VariantCopy
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4201d9
mov eax, 0x52b2d1
push eax
push 3
mov ebx, 0x1a8
call fcn.0050d980
add esp, 0x28
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x420203
push ebx
call fcn.005080b0
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x420221
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.005080aa
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x420232
push ebx
call fcn.005080b0
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
xor ecx, ecx
lea eax, [ebp - 0x24]
mov ebx, eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 2
jg 0x4203fe
mov ebx, dword [ebp - 0x20]
call fcn.004028df
push ebx
push ecx
fild dword [ebp - 0x24]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fmul qword [0x52b2e3]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fsub qword [0x52b4e3]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
call fcn.0040101b
dec eax
jns 0x420295
push 0x733
push 0x401234e
push 4
call fcn.005080bc
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4202b2
push 0x733
push 0x401234e
push 1
call fcn.005080bc
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 0x1c]
call fcn.004028df
push ebx
push ecx
fild dword [ebp - 0x24]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
fmul qword [0x52b2e3]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
call fcn.0040101b
dec eax
jns 0x4202f5
push 0x768
push 0x401234e
push 4
call fcn.005080bc
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x420312
push 0x768
push 0x401234e
push 1
call fcn.005080bc
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x54]
mov al, byte [ebx]
mov ebx, dword [ebp - 0x40]
mov byte [ebx], al
mov ebx, dword [ebp - 0x20]
call fcn.004028df
push ebx
push ecx
fild dword [ebp - 0x24]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fmul qword [0x52b2e3]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
call fcn.0040101b
dec eax
jns 0x42035f
push 0x7a6
push 0x401234e
push 4
call fcn.005080bc
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x42037c
push 0x7a6
push 0x401234e
push 1
call fcn.005080bc
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x1c]
call fcn.004028df
push ebx
push ecx
fild dword [ebp - 0x24]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fmul qword [0x52b2e3]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
fsub qword [0x52b4e3]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
call fcn.0040101b
dec eax
jns 0x4203cb
push 0x7e3
push 0x401234e
push 4
call fcn.005080bc
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4203e8
push 0x7e3
push 0x401234e
push 1
call fcn.005080bc
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x54]
mov al, byte [ebx]
mov ebx, dword [ebp - 0x38]
mov byte [ebx], al
pop ebx
pop ecx
jmp 0x42023d
add esp, 8
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x42041b
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.005080aa
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x42042c
push ebx
call fcn.005080b0
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
xor ecx, ecx
lea eax, [ebp - 0x24]
mov ebx, eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 4
jg 0x4204f5
mov ebx, dword [ebp - 0x1c]
call fcn.004028df
push ebx
push ecx
mov eax, dword [ebp - 0x24]
dec eax
jns 0x42046c
push 0x8cb
push 0x401234e
push 4
call fcn.005080bc
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x420489
push 0x8cb
push 0x401234e
push 1
call fcn.005080bc
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x28]
mov al, byte [ebx]
and eax, 0xff
xor edx, edx
push edx
push eax
call fcn.0042071a
mov dword [ebp - 0x30], eax
push dword [ebp - 0x30]
push dword [ebp - 0x18]
mov ecx, 2
call fcn.004018f7
add esp, 8
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4204d6
push ebx
call fcn.005080b0
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4204ea
push ebx
call fcn.005080b0
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
pop ebx
pop ecx
jmp 0x420437
add esp, 8
add dword [ebp - 0xc], 4
xor ecx, ecx
inc ecx
push ecx
cmp ecx, 8
jg 0x4205bb
mov ebx, dword [ebp - 8]
call fcn.004028df
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x420530
push 0x997
push 0x401234e
push 4
call fcn.005080bc
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x42054d
push 0x997
push 0x401234e
push 1
call fcn.005080bc
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x28]
mov al, byte [ebx]
and eax, 0xff
xor edx, edx
push edx
push eax
call fcn.0042071a
mov dword [ebp - 0x30], eax
push dword [ebp - 0x30]
push dword [ebp - 0x18]
mov ecx, 2
call fcn.004018f7
add esp, 8
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x42059a
push ebx
call fcn.005080b0
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4205ae
push ebx
call fcn.005080b0
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
inc dword [ebp - 0xc]
pop ecx
jmp 0x4204fe
add esp, 4
push 0
push 0
push 0
push SysStringLen
push 0
push str.HARDWAREDESCRIPTIONSystemBIOSBaseBoardProduct
push 0x80000301
push 0
push 4
push 3
mov ebx, 0x698
call fcn.0050d9d0
add esp, 0x28
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push dword [ebp - 0x18]
mov ecx, 2
call fcn.004018f7
add esp, 8
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x420617
push ebx
call fcn.005080b0
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x42062b
push ebx
call fcn.005080b0
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
call fcn.004209d5
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push dword [ebp - 0x18]
mov ecx, 2
call fcn.004018f7
add esp, 8
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x42065d
push ebx
call fcn.005080b0
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x420671
push ebx
call fcn.005080b0
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 1
push 1
push 1
push 1
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
lea eax, [ebp - 0x18]
push eax
call fcn.00420b7f
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4206af
push ebx
call fcn.005080b0
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4206cf
push eax
mov ebx, eax
call fcn.0040188c
inc eax
push eax
call fcn.005080aa
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4206d4
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4206e5
push ebx
call fcn.005080b0
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4206f5
push ebx
call fcn.005080b0
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x420705
push ebx
call fcn.005080b0
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x420715
push ebx
call fcn.005080b0
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret