Function at 0x41f772
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 0x41f7cc
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 0x41f7fd
push 0xd5
push 0x401234e
push 6
call fcn.0050fc00
add esp, 0xc
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x1bc
call fcn.00511940
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41f833
push ebx
call fcn.0050fbf4
add esp, 4
pop eax
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 1
jge 0x41f84b
mov eax, 0x537282
jmp 0x420081
mov dword [ebp - 0x28], esp
push dword [ebp - 4]
mov eax, dword [ebp - 8]
test eax, eax
je 0x41f85b
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 0x41f88c
push 0x190
push 0x401234e
push 6
call fcn.0050fc00
add esp, 0xc
cmp dword [ebp - 4], 1
jge 0x41f8a0
mov eax, 0x537282
jmp 0x420081
mov dword [ebp - 0xc], 9
mov ebx, dword [ebp - 8]
call fcn.0040208a
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x41f8ce
push 0x2a5
push 0x401234e
push 4
call fcn.0050fc00
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x41f8eb
push 0x2a5
push 0x401234e
push 1
call fcn.0050fc00
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
cmp byte [ebx], 1
jne 0x41f901
jmp 0x41fa71
mov ebx, dword [ebp - 8]
call fcn.0040208a
push ebx
push ecx
fild dword [ebp - 0xc]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fadd qword [0x537400]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
call fcn.0040148c
dec eax
jns 0x41f93f
push 0x318
push 0x401234e
push 4
call fcn.0050fc00
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x41f95c
push 0x318
push 0x401234e
push 1
call fcn.0050fc00
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.0040148c
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
call fcn.0040208a
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x41f9b5
push 0x39c
push 0x401234e
push 4
call fcn.0050fc00
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x41f9d2
push 0x39c
push 0x401234e
push 1
call fcn.0050fc00
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
cmp byte [ebx], 0
jne 0x41fa53
mov ebx, dword [ebp - 8]
call fcn.0040208a
push ebx
push ecx
fild dword [ebp - 0xc]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fadd qword [0x537400]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
call fcn.0040148c
dec eax
jns 0x41fa21
push 0x3df
push 0x401234e
push 4
call fcn.0050fc00
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x41fa3e
push 0x3df
push 0x401234e
push 1
call fcn.0050fc00
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 0x40]
cmp byte [ebx], 0
jne 0x41fa53
xor eax, eax
jmp 0x41fa58
mov eax, 1
test eax, eax
je 0x41fa68
inc dword [ebp - 0xc]
jmp 0x41f98e
add dword [ebp - 0xc], 2
jmp 0x41f8a7
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 0x41fa9f
mov eax, 0x537293
push eax
push 3
mov ebx, 0x19c
call fcn.00512530
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 0x41fad3
and eax, 0xff
jmp 0x41fb28
cmp ecx, 0x80000201
jne 0x41fade
cwde
jmp 0x41fb28
cmp ecx, 0x80000301
je 0x41fb28
cmp ecx, 0x80000401
je 0x41fb28
mov dword [ebp - 0x38], eax
cmp ecx, 0x80000501
je 0x41fb18
cmp ecx, 0x80000601
je 0x41fb1d
push 0x507
push 0x401234e
push 2
call fcn.0050fc00
add esp, 0xc
fld dword [ebp - 0x38]
jmp 0x41fb23
mov dword [ebp - 0x34], edx
fld qword [ebp - 0x38]
call fcn.0040148c
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.004200c7
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41fb59
push ebx
call fcn.0050fbf4
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 0x41fb86
mov eax, 0x537293
push eax
push 3
mov ebx, 0x1a8
call fcn.00515600
add esp, 0x28
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x41fbb0
push ebx
call fcn.0050fbf4
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41fbce
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0050fbee
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 0x41fbdf
push ebx
call fcn.0050fbf4
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 0x41fdab
mov ebx, dword [ebp - 0x20]
call fcn.0040208a
push ebx
push ecx
fild dword [ebp - 0x24]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fmul qword [0x53746f]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fsub qword [0x537400]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
call fcn.0040148c
dec eax
jns 0x41fc42
push 0x68d
push 0x401234e
push 4
call fcn.0050fc00
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x41fc5f
push 0x68d
push 0x401234e
push 1
call fcn.0050fc00
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 0x1c]
call fcn.0040208a
push ebx
push ecx
fild dword [ebp - 0x24]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
fmul qword [0x53746f]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
call fcn.0040148c
dec eax
jns 0x41fca2
push 0x6c2
push 0x401234e
push 4
call fcn.0050fc00
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x41fcbf
push 0x6c2
push 0x401234e
push 1
call fcn.0050fc00
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.0040208a
push ebx
push ecx
fild dword [ebp - 0x24]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fmul qword [0x53746f]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
call fcn.0040148c
dec eax
jns 0x41fd0c
push 0x700
push 0x401234e
push 4
call fcn.0050fc00
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x41fd29
push 0x700
push 0x401234e
push 1
call fcn.0050fc00
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x1c]
call fcn.0040208a
push ebx
push ecx
fild dword [ebp - 0x24]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fmul qword [0x53746f]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
fsub qword [0x537400]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
call fcn.0040148c
dec eax
jns 0x41fd78
push 0x73d
push 0x401234e
push 4
call fcn.0050fc00
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x41fd95
push 0x73d
push 0x401234e
push 1
call fcn.0050fc00
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 0x41fbea
add esp, 8
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x41fdc8
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0050fbee
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 0x41fdd9
push ebx
call fcn.0050fbf4
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 0x41fea2
mov ebx, dword [ebp - 0x1c]
call fcn.0040208a
push ebx
push ecx
mov eax, dword [ebp - 0x24]
dec eax
jns 0x41fe19
push 0x825
push 0x401234e
push 4
call fcn.0050fc00
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x41fe36
push 0x825
push 0x401234e
push 1
call fcn.0050fc00
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.004200c7
mov dword [ebp - 0x30], eax
push dword [ebp - 0x30]
push dword [ebp - 0x18]
mov ecx, 2
call fcn.0040107b
add esp, 8
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41fe83
push ebx
call fcn.0050fbf4
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41fe97
push ebx
call fcn.0050fbf4
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
pop ebx
pop ecx
jmp 0x41fde4
add esp, 8
add dword [ebp - 0xc], 4
xor ecx, ecx
inc ecx
push ecx
cmp ecx, 8
jg 0x41ff68
mov ebx, dword [ebp - 8]
call fcn.0040208a
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x41fedd
push 0x8f1
push 0x401234e
push 4
call fcn.0050fc00
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x41fefa
push 0x8f1
push 0x401234e
push 1
call fcn.0050fc00
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.004200c7
mov dword [ebp - 0x30], eax
push dword [ebp - 0x30]
push dword [ebp - 0x18]
mov ecx, 2
call fcn.0040107b
add esp, 8
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41ff47
push ebx
call fcn.0050fbf4
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41ff5b
push ebx
call fcn.0050fbf4
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
inc dword [ebp - 0xc]
pop ecx
jmp 0x41feab
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.00515660
add esp, 0x28
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push dword [ebp - 0x18]
mov ecx, 2
call fcn.0040107b
add esp, 8
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41ffc4
push ebx
call fcn.0050fbf4
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41ffd8
push ebx
call fcn.0050fbf4
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
call fcn.00420382
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push dword [ebp - 0x18]
mov ecx, 2
call fcn.0040107b
add esp, 8
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x42000a
push ebx
call fcn.0050fbf4
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x42001e
push ebx
call fcn.0050fbf4
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.0042052c
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x42005c
push ebx
call fcn.0050fbf4
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x42007c
push eax
mov ebx, eax
call fcn.00401010
inc eax
push eax
call fcn.0050fbee
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x420081
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x420092
push ebx
call fcn.0050fbf4
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4200a2
push ebx
call fcn.0050fbf4
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4200b2
push ebx
call fcn.0050fbf4
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4200c2
push ebx
call fcn.0050fbf4
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret