Function at 0x401ff0
Capabilities:
Get system firmware table

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4230fd
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x42f040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
movq qword [ebp - 0x4c], xmm0
lea ecx, [ebp - 0x4c]
mov byte [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
call fcn.004042c0
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
push 0
push 0
push 0
push 0x52534d42
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
mov edi, eax
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x4020f7
push edi
push esi
push 0
push 0x52534d42
call dword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
cmp eax, edi
jne 0x4020f7
lea ecx, [esi + 8]
xor edx, edx
mov esi, dword [esi + 4]
test esi, esi
je 0x4020f7
nop word [eax + eax]
movzx eax, byte [ecx]
sub eax, 2
je 0x4021f4
movzx eax, byte [ecx + 1]
add ecx, eax
cmp word [ecx], 0
je 0x4020ef
inc ecx
cmp word [ecx], 0
jne 0x4020e8
inc edx
add ecx, 2
cmp edx, esi
jb 0x4020d0
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0
push 0
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x50], 0
push 0x42ba6c
lea ecx, [ebp - 0x64]
call fcn.004030c0
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x28]
call fcn.00402b10
mov ecx, dword [ebp - 0x50]
cmp ecx, 0xf
jbe 0x40215b
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402151
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402a91
push ecx
push edx
call fcn.00406f0a
add esp, 8
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
mov dword [ebp - 0x68], esp
push 0xc
movups xmmword [ecx], xmm0
push str.SerialNumber
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.004030c0
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
xorps xmm0, xmm0
push 0xf
movups xmmword [ecx], xmm0
push str.Win32_BaseBoard
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.004030c0
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x4c]
call fcn.00404650
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x40]
call fcn.00402b10
mov ecx, dword [ebp - 0x50]
cmp ecx, 0xf
jbe 0x40223a
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402230
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402a73
jmp 0x402230
movzx eax, byte [ecx + 7]
push eax
push ecx
call fcn.00403ce0
mov edx, eax
mov dword [ebp - 0x54], 0
mov ecx, edx
mov dword [ebp - 0x50], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x64], xmm0
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402220
sub ecx, esi
push ecx
push edx
jmp 0x402113
push ecx
push edx
call fcn.00406f0a
add esp, 8
cmp dword [ebp - 0x2c], 0xf
lea ecx, [ebp - 0x40]
mov esi, dword [ebp - 0x18]
lea edx, [ebp - 0x28]
cmova ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 0xf
cmova edx, dword [ebp - 0x28]
cmp esi, dword [ebp - 0x30]
jne 0x4022da
sub esi, 4
jb 0x402272
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x402277
add edx, 4
add ecx, 4
sub esi, 4
jae 0x402261
cmp esi, 0xfffffffc
je 0x4022ab
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x4022a4
cmp esi, 0xfffffffd
je 0x4022ab
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x4022a4
cmp esi, 0xfffffffe
je 0x4022ab
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x4022a4
cmp esi, 0xffffffff
je 0x4022ab
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x4022ab
sbb eax, eax
or eax, 1
jmp 0x4022ad
xor eax, eax
test eax, eax
jne 0x4022da
mov edx, str.MotherBoardID:
mov ecx, 0x42ffd8
call fcn.00402c90
cmp dword [ebp - 0x14], 0xf
lea edx, [ebp - 0x28]
push dword [ebp - 0x18]
cmova edx, dword [ebp - 0x28]
mov ecx, eax
call fcn.004039d0
add esp, 4
jmp 0x402322
mov edx, str.MotherBoardID__new_method_:
mov ecx, 0x42ffd8
call fcn.00402c90
cmp dword [ebp - 0x14], 0xf
lea edx, [ebp - 0x28]
push dword [ebp - 0x18]
cmova edx, dword [ebp - 0x28]
mov ecx, eax
call fcn.004039d0
mov edx, str._t__old_method_:
mov ecx, eax
call fcn.00402c90
cmp dword [ebp - 0x2c], 0xf
lea edx, [ebp - 0x40]
push dword [ebp - 0x30]
cmova edx, dword [ebp - 0x40]
mov ecx, eax
call fcn.004039d0
add esp, 8
push eax
call fcn.00402f30
add esp, 4
push 0
push 0
push 0
push 0x52534d42
call dword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
mov edi, eax
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x40239f
push edi
push esi
push 0
push 0x52534d42
call dword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
cmp eax, edi
jne 0x40239f
lea ecx, [esi + 8]
xor edx, edx
mov esi, dword [esi + 4]
test esi, esi
je 0x40239f
movzx eax, byte [ecx]
sub eax, 1
je 0x40249c
movzx eax, byte [ecx + 1]
add ecx, eax
cmp word [ecx], 0
je 0x402397
nop dword [eax + eax]
inc ecx
cmp word [ecx], 0
jne 0x402390
inc edx
add ecx, 2
cmp edx, esi
jb 0x402373
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0
push 0
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x50], 0
push 0x42ba6c
lea ecx, [ebp - 0x64]
call fcn.004030c0
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x28]
call fcn.00402b10
mov ecx, dword [ebp - 0x50]
cmp ecx, 0xf
jbe 0x402403
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4023f9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402a91
push ecx
push edx
call fcn.00406f0a
add esp, 8
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
mov dword [ebp - 0x6c], esp
push 0xc
movups xmmword [ecx], xmm0
push str.SerialNumber
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.004030c0
sub esp, 0x18
mov byte [ebp - 4], 4
mov ecx, esp
xorps xmm0, xmm0
push 0xa
movups xmmword [ecx], xmm0
push str.Win32_BIOS
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.004030c0
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x4c]
call fcn.00404650
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x40]
call fcn.00402b10
mov ecx, dword [ebp - 0x50]
cmp ecx, 0xf
jbe 0x4024dd
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4024d3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402a78
jmp 0x4024d3
movzx eax, byte [ecx + 7]
push eax
push ecx
call fcn.00403ce0
mov edx, eax
mov dword [ebp - 0x54], 0
mov ecx, edx
mov dword [ebp - 0x50], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x64], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4024c3
sub ecx, esi
push ecx
push edx
jmp 0x4023bb
push ecx
push edx
call fcn.00406f0a
add esp, 8
cmp dword [ebp - 0x2c], 0xf
lea ecx, [ebp - 0x40]
mov esi, dword [ebp - 0x18]
lea edx, [ebp - 0x28]
cmova ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 0xf
cmova edx, dword [ebp - 0x28]
cmp esi, dword [ebp - 0x30]
jne 0x40257d
sub esi, 4
jb 0x402515
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x40251a
add edx, 4
add ecx, 4
sub esi, 4
jae 0x402504
cmp esi, 0xfffffffc
je 0x40254e
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x402547
cmp esi, 0xfffffffd
je 0x40254e
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x402547
cmp esi, 0xfffffffe
je 0x40254e
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x402547
cmp esi, 0xffffffff
je 0x40254e
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x40254e
sbb eax, eax
or eax, 1
jmp 0x402550
xor eax, eax
test eax, eax
jne 0x40257d
mov edx, str.BIOSID:
mov ecx, 0x42ffd8
call fcn.00402c90
cmp dword [ebp - 0x14], 0xf
lea edx, [ebp - 0x28]
push dword [ebp - 0x18]
cmova edx, dword [ebp - 0x28]
mov ecx, eax
call fcn.004039d0
add esp, 4
jmp 0x4025c5
mov edx, str.BIOSID__new_method_:
mov ecx, 0x42ffd8
call fcn.00402c90
cmp dword [ebp - 0x14], 0xf
lea edx, [ebp - 0x28]
push dword [ebp - 0x18]
cmova edx, dword [ebp - 0x28]
mov ecx, eax
call fcn.004039d0
mov edx, str._t__old_method_:
mov ecx, eax
call fcn.00402c90
cmp dword [ebp - 0x2c], 0xf
lea edx, [ebp - 0x40]
push dword [ebp - 0x30]
cmova edx, dword [ebp - 0x40]
mov ecx, eax
call fcn.004039d0
add esp, 8
push eax
call fcn.00402f30
add esp, 4
lea eax, [ebp - 0x64]
push eax
call fcn.004040b0
push eax
lea ecx, [ebp - 0x28]
call fcn.00402b10
mov ecx, dword [ebp - 0x50]
cmp ecx, 0xf
jbe 0x402614
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40260a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402a7d
push ecx
push edx
call fcn.00406f0a
add esp, 8
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
mov dword [ebp - 0x6c], esp
push 0xc
movups xmmword [ecx], xmm0
push str.SerialNumber
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.004030c0
sub esp, 0x18
mov byte [ebp - 4], 5
mov ecx, esp
xorps xmm0, xmm0
push 0xf
movups xmmword [ecx], xmm0
push str.Win32_DiskDrive
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.004030c0
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x4c]
call fcn.00404650
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x40]
call fcn.00402b10
mov ecx, dword [ebp - 0x50]
cmp ecx, 0xf
jbe 0x4026b5
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4026ab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402a82
push ecx
push edx
call fcn.00406f0a
add esp, 8
cmp dword [ebp - 0x2c], 0xf
lea ecx, [ebp - 0x40]
mov esi, dword [ebp - 0x18]
lea edx, [ebp - 0x28]
cmova ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 0xf
cmova edx, dword [ebp - 0x28]
cmp esi, dword [ebp - 0x30]
jne 0x402759
sub esi, 4
jb 0x4026f1
nop dword [eax]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4026f6
add edx, 4
add ecx, 4
sub esi, 4
jae 0x4026e0
cmp esi, 0xfffffffc
je 0x40272a
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x402723
cmp esi, 0xfffffffd
je 0x40272a
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x402723
cmp esi, 0xfffffffe
je 0x40272a
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x402723
cmp esi, 0xffffffff
je 0x40272a
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x40272a
sbb eax, eax
or eax, 1
jmp 0x40272c
xor eax, eax
test eax, eax
jne 0x402759
mov edx, str.HardDriveID:
mov ecx, 0x42ffd8
call fcn.00402c90
cmp dword [ebp - 0x14], 0xf
lea edx, [ebp - 0x28]
push dword [ebp - 0x18]
cmova edx, dword [ebp - 0x28]
mov ecx, eax
call fcn.004039d0
add esp, 4
jmp 0x4027a1
mov edx, str.HardDriveID__new_method_:
mov ecx, 0x42ffd8
call fcn.00402c90
cmp dword [ebp - 0x14], 0xf
lea edx, [ebp - 0x28]
push dword [ebp - 0x18]
cmova edx, dword [ebp - 0x28]
mov ecx, eax
call fcn.004039d0
mov edx, str._t__old_method_:
mov ecx, eax
call fcn.00402c90
cmp dword [ebp - 0x2c], 0xf
lea edx, [ebp - 0x40]
push dword [ebp - 0x30]
cmova edx, dword [ebp - 0x40]
mov ecx, eax
call fcn.004039d0
add esp, 8
push eax
call fcn.00402f30
add esp, 4
lea eax, [ebp - 0x64]
push eax
call fcn.00403d70
push eax
lea ecx, [ebp - 0x28]
call fcn.00402b10
mov ecx, dword [ebp - 0x50]
cmp ecx, 0xf
jbe 0x4027f0
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4027e6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402a87
push ecx
push edx
call fcn.00406f0a
add esp, 8
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
mov dword [ebp - 0x6c], esp
push 0xa
movups xmmword [ecx], xmm0
push str.MacAddress
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.004030c0
sub esp, 0x18
mov byte [ebp - 4], 6
mov ecx, esp
xorps xmm0, xmm0
push 0x21
movups xmmword [ecx], xmm0
push str.Win32_NetworkAdapterConfiguration
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.004030c0
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x4c]
call fcn.00404650
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x40]
call fcn.00402b10
mov ecx, dword [ebp - 0x50]
cmp ecx, 0xf
jbe 0x402891
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402887
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402a8c
push ecx
push edx
call fcn.00406f0a
add esp, 8
cmp dword [ebp - 0x2c], 0xf
lea ecx, [ebp - 0x40]
mov esi, dword [ebp - 0x18]
lea edx, [ebp - 0x28]
cmova ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 0xf
cmova edx, dword [ebp - 0x28]
cmp esi, dword [ebp - 0x30]
jne 0x402931
sub esi, 4
jb 0x4028c9
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4028ce
add edx, 4
add ecx, 4
sub esi, 4
jae 0x4028b8
cmp esi, 0xfffffffc
je 0x402902
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x4028fb
cmp esi, 0xfffffffd
je 0x402902
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x4028fb
cmp esi, 0xfffffffe
je 0x402902
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x4028fb
cmp esi, 0xffffffff
je 0x402902
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x402902
sbb eax, eax
or eax, 1
jmp 0x402904
xor eax, eax
test eax, eax
jne 0x402931
mov edx, str.MACAddress:
mov ecx, 0x42ffd8
call fcn.00402c90
cmp dword [ebp - 0x14], 0xf
lea edx, [ebp - 0x28]
push dword [ebp - 0x18]
cmova edx, dword [ebp - 0x28]
mov ecx, eax
call fcn.004039d0
add esp, 4
jmp 0x402979
mov edx, str.MACAddress__new_method_:
mov ecx, 0x42ffd8
call fcn.00402c90
cmp dword [ebp - 0x14], 0xf
lea edx, [ebp - 0x28]
push dword [ebp - 0x18]
cmova edx, dword [ebp - 0x28]
mov ecx, eax
call fcn.004039d0
mov edx, str._t__old_method_:
mov ecx, eax
call fcn.00402c90
cmp dword [ebp - 0x2c], 0xf
lea edx, [ebp - 0x40]
push dword [ebp - 0x30]
cmova edx, dword [ebp - 0x40]
mov ecx, eax
call fcn.004039d0
add esp, 8
push eax
call fcn.00402f30
add esp, 4
call fcn.0040bcc3
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x4029bf
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4029b5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402a91
push ecx
push edx
call fcn.00406f0a
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp ecx, 0xf
jbe 0x402a09
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4029ff
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402a91
push ecx
push edx
call fcn.00406f0a
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 7
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x402a36
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x44], 0
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x402a4a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x44], 0
cmp byte [ebp - 0x4c], 0
je 0x402a56
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
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.00406ec7
mov esp, ebp
pop ebp
ret
call fcn.0040bfe4
call fcn.0040bfe4
call fcn.0040bfe4
call fcn.0040bfe4
call fcn.0040bfe4
call fcn.0040bfe4
call fcn.0040bfe4
int3