Function at 0x41f708
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 0x41f762
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 0x41f793
push 0xd5
push 0x401234e
push 6
call fcn.00526a28
add esp, 0xc
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x1bc
call fcn.00527ce0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41f7c9
push ebx
call fcn.00526a1c
add esp, 4
pop eax
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 1
jge 0x41f7e1
mov eax, 0x54d2f5
jmp 0x420017
mov dword [ebp - 0x28], esp
push dword [ebp - 4]
mov eax, dword [ebp - 8]
test eax, eax
je 0x41f7f1
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 0x41f822
push 0x190
push 0x401234e
push 6
call fcn.00526a28
add esp, 0xc
cmp dword [ebp - 4], 1
jge 0x41f836
mov eax, 0x54d2f5
jmp 0x420017
mov dword [ebp - 0xc], 9
mov ebx, dword [ebp - 8]
call fcn.00402aee
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x41f864
push 0x2a5
push 0x401234e
push 4
call fcn.00526a28
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x41f881
push 0x2a5
push 0x401234e
push 1
call fcn.00526a28
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
cmp byte [ebx], 1
jne 0x41f897
jmp 0x41fa07
mov ebx, dword [ebp - 8]
call fcn.00402aee
push ebx
push ecx
fild dword [ebp - 0xc]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fadd qword [0x54d46b]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
call fcn.0040105b
dec eax
jns 0x41f8d5
push 0x318
push 0x401234e
push 4
call fcn.00526a28
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x41f8f2
push 0x318
push 0x401234e
push 1
call fcn.00526a28
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.0040105b
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
call fcn.00402aee
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x41f94b
push 0x39c
push 0x401234e
push 4
call fcn.00526a28
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x41f968
push 0x39c
push 0x401234e
push 1
call fcn.00526a28
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
cmp byte [ebx], 0
jne 0x41f9e9
mov ebx, dword [ebp - 8]
call fcn.00402aee
push ebx
push ecx
fild dword [ebp - 0xc]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fadd qword [0x54d46b]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
call fcn.0040105b
dec eax
jns 0x41f9b7
push 0x3df
push 0x401234e
push 4
call fcn.00526a28
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x41f9d4
push 0x3df
push 0x401234e
push 1
call fcn.00526a28
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 0x40]
cmp byte [ebx], 0
jne 0x41f9e9
xor eax, eax
jmp 0x41f9ee
mov eax, 1
test eax, eax
je 0x41f9fe
inc dword [ebp - 0xc]
jmp 0x41f924
add dword [ebp - 0xc], 2
jmp 0x41f83d
add dword [ebp - 0xc], 8
push 0xa0000301
push 0
lea eax, [ebp - 0xc]
push eax
push 0x80000301
push 0
push 3
push VariantClear
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x41fa35
mov eax, 0x54d221
push eax
push 3
mov ebx, 0x19c
call fcn.00527d10
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 0x41fa69
and eax, 0xff
jmp 0x41fabe
cmp ecx, 0x80000201
jne 0x41fa74
cwde
jmp 0x41fabe
cmp ecx, 0x80000301
je 0x41fabe
cmp ecx, 0x80000401
je 0x41fabe
mov dword [ebp - 0x38], eax
cmp ecx, 0x80000501
je 0x41faae
cmp ecx, 0x80000601
je 0x41fab3
push 0x507
push 0x401234e
push 2
call fcn.00526a28
add esp, 0xc
fld dword [ebp - 0x38]
jmp 0x41fab9
mov dword [ebp - 0x34], edx
fld qword [ebp - 0x38]
call fcn.0040105b
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.0042005d
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41faef
push ebx
call fcn.00526a1c
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 VariantClear
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x41fb1c
mov eax, 0x54d221
push eax
push 3
mov ebx, 0x1a8
call fcn.0052beb0
add esp, 0x28
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x41fb46
push ebx
call fcn.00526a1c
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41fb64
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00526a16
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 0x41fb75
push ebx
call fcn.00526a1c
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 0x41fd41
mov ebx, dword [ebp - 0x20]
call fcn.00402aee
push ebx
push ecx
fild dword [ebp - 0x24]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fmul qword [0x54d233]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fsub qword [0x54d46b]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
call fcn.0040105b
dec eax
jns 0x41fbd8
push 0x68d
push 0x401234e
push 4
call fcn.00526a28
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x41fbf5
push 0x68d
push 0x401234e
push 1
call fcn.00526a28
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 0x1c]
call fcn.00402aee
push ebx
push ecx
fild dword [ebp - 0x24]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
fmul qword [0x54d233]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
call fcn.0040105b
dec eax
jns 0x41fc38
push 0x6c2
push 0x401234e
push 4
call fcn.00526a28
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x41fc55
push 0x6c2
push 0x401234e
push 1
call fcn.00526a28
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.00402aee
push ebx
push ecx
fild dword [ebp - 0x24]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fmul qword [0x54d233]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
call fcn.0040105b
dec eax
jns 0x41fca2
push 0x700
push 0x401234e
push 4
call fcn.00526a28
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x41fcbf
push 0x700
push 0x401234e
push 1
call fcn.00526a28
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x1c]
call fcn.00402aee
push ebx
push ecx
fild dword [ebp - 0x24]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fmul qword [0x54d233]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
fsub qword [0x54d46b]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
call fcn.0040105b
dec eax
jns 0x41fd0e
push 0x73d
push 0x401234e
push 4
call fcn.00526a28
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x41fd2b
push 0x73d
push 0x401234e
push 1
call fcn.00526a28
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 0x41fb80
add esp, 8
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x41fd5e
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00526a16
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 0x41fd6f
push ebx
call fcn.00526a1c
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 0x41fe38
mov ebx, dword [ebp - 0x1c]
call fcn.00402aee
push ebx
push ecx
mov eax, dword [ebp - 0x24]
dec eax
jns 0x41fdaf
push 0x825
push 0x401234e
push 4
call fcn.00526a28
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x41fdcc
push 0x825
push 0x401234e
push 1
call fcn.00526a28
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.0042005d
mov dword [ebp - 0x30], eax
push dword [ebp - 0x30]
push dword [ebp - 0x18]
mov ecx, 2
call fcn.00401b06
add esp, 8
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41fe19
push ebx
call fcn.00526a1c
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41fe2d
push ebx
call fcn.00526a1c
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
pop ebx
pop ecx
jmp 0x41fd7a
add esp, 8
add dword [ebp - 0xc], 4
xor ecx, ecx
inc ecx
push ecx
cmp ecx, 8
jg 0x41fefe
mov ebx, dword [ebp - 8]
call fcn.00402aee
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x41fe73
push 0x8f1
push 0x401234e
push 4
call fcn.00526a28
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x41fe90
push 0x8f1
push 0x401234e
push 1
call fcn.00526a28
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.0042005d
mov dword [ebp - 0x30], eax
push dword [ebp - 0x30]
push dword [ebp - 0x18]
mov ecx, 2
call fcn.00401b06
add esp, 8
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41fedd
push ebx
call fcn.00526a1c
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41fef1
push ebx
call fcn.00526a1c
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
inc dword [ebp - 0xc]
pop ecx
jmp 0x41fe41
add esp, 4
push 0
push 0
push 0
push VariantClear
push 0
push str.HARDWAREDESCRIPTIONSystemBIOSBaseBoardProduct
push 0x80000301
push 0
push 4
push 3
mov ebx, 0x698
call fcn.0052bf10
add esp, 0x28
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push dword [ebp - 0x18]
mov ecx, 2
call fcn.00401b06
add esp, 8
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41ff5a
push ebx
call fcn.00526a1c
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41ff6e
push ebx
call fcn.00526a1c
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
call fcn.00420318
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push dword [ebp - 0x18]
mov ecx, 2
call fcn.00401b06
add esp, 8
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41ffa0
push ebx
call fcn.00526a1c
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41ffb4
push ebx
call fcn.00526a1c
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.004204c2
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41fff2
push ebx
call fcn.00526a1c
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x420012
push eax
mov ebx, eax
call fcn.00401a9b
inc eax
push eax
call fcn.00526a16
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x420017
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x420028
push ebx
call fcn.00526a1c
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x420038
push ebx
call fcn.00526a1c
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x420048
push ebx
call fcn.00526a1c
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x420058
push ebx
call fcn.00526a1c
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret