Function at 0x402dd0
Capabilities:
Connect to wmi namespace via wbemlocator
Get number of processor cores
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4f5f
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x517748]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
xorps xmm0, xmm0
mov dword [ebp - 0xb0], 0
movq qword [ebp - 0xb8], xmm0
mov dword [ebp - 0x174], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xec], 0xf
mov dword [ebp - 0xf0], 0
mov byte [ebp - 0x100], 0
mov dword [ebp - 0xbc], 0xf
mov dword [ebp - 0xc0], 0
mov byte [ebp - 0xd0], 0
mov dword [ebp - 0xd4], 0xf
mov dword [ebp - 0xd8], 0
mov byte [ebp - 0xe8], 0
push 0
push 0
mov byte [ebp - 4], 3
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x402ed6
lea eax, [ebp - 0x168]
mov dword [ebp - 0x168], 0
push eax
push 0x4f7520
push 1
push 0
push 0x4f7510
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x402eef
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
jmp 0x403f96
push str.ROOTCIMV2
lea ecx, [ebp - 0x16c]
mov dword [ebp - 0x164], 0
call fcn.004028f0
mov byte [ebp - 4], 4
mov eax, dword [eax]
test eax, eax
je 0x402f17
mov edx, dword [eax]
jmp 0x402f19
xor edx, edx
mov eax, dword [ebp - 0x168]
lea esi, [ebp - 0x164]
push esi
push 0
push 0
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push edx
push eax
call dword [ecx + 0xc]
mov byte [ebp - 4], 3
mov esi, eax
mov ecx, dword [ebp - 0x16c]
test ecx, ecx
je 0x402f4e
call fcn.004029c0
test esi, esi
mov esi, dword [sym.imp.ole32.dll_CoUninitialize]
jns 0x402f6b
mov eax, dword [ebp - 0x168]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call esi
jmp 0x403d06
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x164]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x402fe6
mov eax, dword [ebp - 0x164]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x168]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [ebp - 0xb8]
mov ecx, ebx
push eax
call fcn.0040af90
lea ecx, [ebp - 0xe8]
call fcn.004017c0
lea ecx, [ebp - 0xd0]
call fcn.004017c0
lea ecx, [ebp - 0x100]
call fcn.004017c0
lea ecx, [ebp - 0xb8]
call fcn.0040afe0
jmp 0x403f96
push str.SELECT__FROM_Win32_Processor
lea ecx, [ebp - 0x170]
mov dword [ebp - 0x160], 0
call fcn.004028f0
mov esi, eax
push 0x4fe66c
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 5
call fcn.004028f0
mov byte [ebp - 4], 6
mov esi, dword [esi]
test esi, esi
je 0x403024
mov esi, dword [esi]
jmp 0x403026
xor esi, esi
mov eax, dword [eax]
test eax, eax
je 0x403030
mov edx, dword [eax]
jmp 0x403032
xor edx, edx
mov eax, dword [ebp - 0x164]
lea edi, [ebp - 0x160]
push edi
push 0
push 0x30
mov ecx, dword [eax]
push esi
push edx
push eax
call dword [ecx + 0x50]
mov ecx, dword [ebp - 0x16c]
mov esi, eax
test ecx, ecx
je 0x403066
call fcn.004029c0
mov dword [ebp - 0x16c], 0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x170]
test ecx, ecx
je 0x403079
call fcn.004029c0
test esi, esi
js 0x402f89
mov ecx, dword [ebp - 0x160]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0xac], 0
test ecx, ecx
je 0x40336b
lea esp, [esp]
mov eax, dword [ecx]
lea edx, [ebp - 0xac]
push edx
lea edx, [ebp - 0x14c]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0xac], 0
je 0x40336b
mov eax, dword [ebp - 0x14c]
lea edx, [ebp - 0x15c]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.NumberOfCores
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x40319f
mov ax, word [ebp - 0x15c]
cmp ax, 1
je 0x40319f
test ax, ax
je 0x40319f
push dword [ebp - 0x154]
lea eax, [ebp - 0x90]
push 0x4fe5fc
push eax
call fcn.004c0ec3
add esp, 0xc
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0xa8]
push eax
call fcn.00401760
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x100]
call fcn.0040c7a0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0xd0]
call fcn.0040c7a0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0xe8]
call fcn.0040c7a0
lea eax, [ebp - 0x15c]
push eax
call edi
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 3
call fcn.004017c0
mov eax, dword [ebp - 0x14c]
lea edx, [ebp - 0x15c]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.SocketDesignation
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x403278
cmp word [ebp - 0x15c], 8
jne 0x403278
mov edx, dword [ebp - 0x154]
lea ecx, [ebp - 0xa8]
call fcn.00402d50
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 8
call fcn.0040c7a0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 3
call fcn.004017c0
mov edx, dword [ebp - 0x154]
lea ecx, [ebp - 0xa8]
call fcn.00402d50
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 9
call fcn.0040c7a0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 3
call fcn.004017c0
mov edx, dword [ebp - 0x154]
lea ecx, [ebp - 0xa8]
call fcn.00402d50
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0xa
call fcn.0040c7a0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 3
call fcn.004017c0
lea eax, [ebp - 0x15c]
push eax
call edi
mov eax, dword [ebp - 0x14c]
lea edx, [ebp - 0x15c]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.AssetTag
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x403351
cmp word [ebp - 0x15c], 8
jne 0x403351
mov edx, dword [ebp - 0x154]
lea ecx, [ebp - 0xa8]
call fcn.00402d50
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0xb
call fcn.0040c7a0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 3
call fcn.004017c0
mov edx, dword [ebp - 0x154]
lea ecx, [ebp - 0xa8]
call fcn.00402d50
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0xc
call fcn.0040c7a0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 3
call fcn.004017c0
mov edx, dword [ebp - 0x154]
lea ecx, [ebp - 0xa8]
call fcn.00402d50
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0xd
call fcn.0040c7a0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 3
call fcn.004017c0
lea eax, [ebp - 0x15c]
push eax
call edi
mov eax, dword [ebp - 0x14c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x160]
test ecx, ecx
jne 0x4030b0
push str.SELECT__FROM_Win32_VideoController
lea ecx, [ebp - 0x170]
call fcn.004028f0
mov esi, eax
push 0x4fe66c
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0xe
call fcn.004028f0
mov byte [ebp - 4], 0xf
mov esi, dword [esi]
test esi, esi
je 0x40339f
mov esi, dword [esi]
jmp 0x4033a1
xor esi, esi
mov eax, dword [eax]
test eax, eax
je 0x4033ab
mov edx, dword [eax]
jmp 0x4033ad
xor edx, edx
mov eax, dword [ebp - 0x164]
lea edi, [ebp - 0x160]
push edi
push 0
push 0x30
mov ecx, dword [eax]
push esi
push edx
push eax
call dword [ecx + 0x50]
mov ecx, dword [ebp - 0x16c]
mov esi, eax
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
test ecx, ecx
je 0x4033e7
call fcn.004029c0
mov dword [ebp - 0x16c], 0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x170]
test ecx, ecx
je 0x4033fa
call fcn.004029c0
test esi, esi
js 0x402f89
mov ecx, dword [ebp - 0x160]
test ecx, ecx
je 0x403693
mov eax, dword [ecx]
lea edx, [ebp - 0xac]
push edx
lea edx, [ebp - 0x14c]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0xac], 0
je 0x403693
mov eax, dword [ebp - 0x14c]
lea edx, [ebp - 0x15c]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.AdapterRAM
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x4034c7
mov ax, word [ebp - 0x15c]
cmp ax, 1
je 0x4034c7
test ax, ax
je 0x4034c7
push dword [ebp - 0x154]
lea eax, [ebp - 0x90]
push 0x4fe600
push eax
call fcn.004c0ec3
add esp, 0xc
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0xa8]
push eax
call fcn.00401760
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0xe8]
call fcn.0040c7a0
lea eax, [ebp - 0x15c]
push eax
call edi
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 3
call fcn.004017c0
mov eax, dword [ebp - 0x14c]
lea edx, [ebp - 0x15c]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.AdapterDACType
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x4035a0
cmp word [ebp - 0x15c], 8
jne 0x4035a0
mov edx, dword [ebp - 0x154]
lea ecx, [ebp - 0xa8]
call fcn.00402d50
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0x11
call fcn.0040c7a0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 3
call fcn.004017c0
mov edx, dword [ebp - 0x154]
lea ecx, [ebp - 0xa8]
call fcn.00402d50
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0x12
call fcn.0040c7a0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 3
call fcn.004017c0
mov edx, dword [ebp - 0x154]
lea ecx, [ebp - 0xa8]
call fcn.00402d50
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0x13
call fcn.0040c7a0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 3
call fcn.004017c0
lea eax, [ebp - 0x15c]
push eax
call edi
mov eax, dword [ebp - 0x14c]
lea edx, [ebp - 0x15c]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.VideoProcessor
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x403679
cmp word [ebp - 0x15c], 8
jne 0x403679
mov edx, dword [ebp - 0x154]
lea ecx, [ebp - 0xa8]
call fcn.00402d50
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0x14
call fcn.0040c7a0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 3
call fcn.004017c0
mov edx, dword [ebp - 0x154]
lea ecx, [ebp - 0xa8]
call fcn.00402d50
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0x15
call fcn.0040c7a0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 3
call fcn.004017c0
mov edx, dword [ebp - 0x154]
lea ecx, [ebp - 0xa8]
call fcn.00402d50
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0x16
call fcn.0040c7a0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 3
call fcn.004017c0
lea eax, [ebp - 0x15c]
push eax
call edi
mov eax, dword [ebp - 0x14c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x160]
test ecx, ecx
jne 0x403410
push str.SELECT__FROM_Win32_DiskDrive
lea ecx, [ebp - 0x170]
call fcn.004028f0
mov esi, eax
push 0x4fe66c
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0x17
call fcn.004028f0
mov byte [ebp - 4], 0x18
mov esi, dword [esi]
test esi, esi
je 0x4036c7
mov esi, dword [esi]
jmp 0x4036c9
xor esi, esi
mov eax, dword [eax]
test eax, eax
je 0x4036d3
mov edx, dword [eax]
jmp 0x4036d5
xor edx, edx
mov eax, dword [ebp - 0x164]
lea edi, [ebp - 0x160]
push edi
push 0
push 0x30
mov ecx, dword [eax]
push esi
push edx
push eax
call dword [ecx + 0x50]
mov ecx, dword [ebp - 0x16c]
mov esi, eax
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
test ecx, ecx
je 0x40370f
call fcn.004029c0
mov dword [ebp - 0x16c], 0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x170]
test ecx, ecx
je 0x403722
call fcn.004029c0
test esi, esi
js 0x402f89
mov ecx, dword [ebp - 0x160]
test ecx, ecx
je 0x4039f3
jmp 0x403740
mov eax, dword [ecx]
lea edx, [ebp - 0xac]
push edx
lea edx, [ebp - 0x14c]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0xac], 0
je 0x4039f3
mov eax, dword [ebp - 0x14c]
lea edx, [ebp - 0x15c]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.Model
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x403802
cmp word [ebp - 0x15c], 8
jne 0x403802
mov edx, dword [ebp - 0x154]
lea ecx, [ebp - 0xa8]
call fcn.00402d50
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0x19
call fcn.0040c7a0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 3
call fcn.004017c0
mov edx, dword [ebp - 0x154]
lea ecx, [ebp - 0xa8]
call fcn.00402d50
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0x1a
call fcn.0040c7a0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 3
call fcn.004017c0
lea eax, [ebp - 0x15c]
push eax
call edi
mov eax, dword [ebp - 0x14c]
lea edx, [ebp - 0x15c]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.InterfaceType
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x40389f
cmp word [ebp - 0x15c], 8
jne 0x40389f
mov edx, dword [ebp - 0x154]
lea ecx, [ebp - 0xa8]
call fcn.00402d50
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0x1b
call fcn.0040c7a0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 3
call fcn.004017c0
mov edx, dword [ebp - 0x154]
lea ecx, [ebp - 0xa8]
call fcn.00402d50
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0x1c
call fcn.0040c7a0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 3
call fcn.004017c0
lea eax, [ebp - 0x15c]
push eax
call edi
mov eax, dword [ebp - 0x14c]
lea edx, [ebp - 0x15c]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.FirmwareRevision
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x40393c
cmp word [ebp - 0x15c], 8
jne 0x40393c
mov edx, dword [ebp - 0x154]
lea ecx, [ebp - 0xa8]
call fcn.00402d50
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0x1d
call fcn.0040c7a0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 3
call fcn.004017c0
mov edx, dword [ebp - 0x154]
lea ecx, [ebp - 0xa8]
call fcn.00402d50
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0x1e
call fcn.0040c7a0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 3
call fcn.004017c0
lea eax, [ebp - 0x15c]
push eax
call edi
mov eax, dword [ebp - 0x14c]
lea edx, [ebp - 0x15c]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.Size
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x4039d9
cmp word [ebp - 0x15c], 8
jne 0x4039d9
mov edx, dword [ebp - 0x154]
lea ecx, [ebp - 0xa8]
call fcn.00402d50
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0x1f
call fcn.0040c7a0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 3
call fcn.004017c0
mov edx, dword [ebp - 0x154]
lea ecx, [ebp - 0xa8]
call fcn.00402d50
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0x20
call fcn.0040c7a0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 3
call fcn.004017c0
lea eax, [ebp - 0x15c]
push eax
call edi
mov eax, dword [ebp - 0x14c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x160]
test ecx, ecx
jne 0x403740
push str.SELECT__FROM_Win32_PhysicalMemory
lea ecx, [ebp - 0x170]
call fcn.004028f0
mov esi, eax
push 0x4fe66c
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0x21
call fcn.004028f0
mov byte [ebp - 4], 0x22
mov esi, dword [esi]
test esi, esi
je 0x403a27
mov esi, dword [esi]
jmp 0x403a29
xor esi, esi
mov eax, dword [eax]
test eax, eax
je 0x403a33
mov edx, dword [eax]
jmp 0x403a35
xor edx, edx
mov eax, dword [ebp - 0x164]
lea edi, [ebp - 0x160]
push edi
push 0
push 0x30
mov ecx, dword [eax]
push esi
push edx
push eax
call dword [ecx + 0x50]
mov ecx, dword [ebp - 0x16c]
mov esi, eax
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
test ecx, ecx
je 0x403a6f
call fcn.004029c0
mov dword [ebp - 0x16c], 0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x170]
test ecx, ecx
je 0x403a82
call fcn.004029c0
test esi, esi
js 0x402f89
mov ecx, dword [ebp - 0x160]
test ecx, ecx
je 0x403cfa
jmp 0x403aa0
mov eax, dword [ecx]
lea edx, [ebp - 0xac]
push edx
lea edx, [ebp - 0x14c]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0xac], 0
je 0x403cf4
mov eax, dword [ebp - 0x14c]
lea edx, [ebp - 0x15c]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.Capacity
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x403b9e
cmp word [ebp - 0x15c], 8
jne 0x403b9e
mov edx, dword [ebp - 0x154]
lea ecx, [ebp - 0xa8]
call fcn.00402d50
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0x23
call fcn.0040c7a0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 3
call fcn.004017c0
mov edx, dword [ebp - 0x154]
lea ecx, [ebp - 0xa8]
call fcn.00402d50
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0x24
call fcn.0040c7a0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 3
call fcn.004017c0
mov edx, dword [ebp - 0x154]
lea ecx, [ebp - 0xa8]
call fcn.00402d50
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0x25
call fcn.0040c7a0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 3
call fcn.004017c0
lea eax, [ebp - 0x15c]
push eax
call edi
mov eax, dword [ebp - 0x14c]
lea edx, [ebp - 0x15c]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.Manufacturer
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x403c3b
cmp word [ebp - 0x15c], 8
jne 0x403c3b
mov edx, dword [ebp - 0x154]
lea ecx, [ebp - 0xa8]
call fcn.00402d50
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0x26
call fcn.0040c7a0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 3
call fcn.004017c0
mov edx, dword [ebp - 0x154]
lea ecx, [ebp - 0xa8]
call fcn.00402d50
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0x27
call fcn.0040c7a0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 3
call fcn.004017c0
lea eax, [ebp - 0x15c]
push eax
call edi
mov eax, dword [ebp - 0x14c]
lea edx, [ebp - 0x15c]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.SerialNumber
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x403cd8
cmp word [ebp - 0x15c], 8
jne 0x403cd8
mov edx, dword [ebp - 0x154]
lea ecx, [ebp - 0xa8]
call fcn.00402d50
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0x28
call fcn.0040c7a0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 3
call fcn.004017c0
mov edx, dword [ebp - 0x154]
lea ecx, [ebp - 0xa8]
call fcn.00402d50
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0x29
call fcn.0040c7a0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 3
call fcn.004017c0
lea eax, [ebp - 0x15c]
push eax
call edi
mov eax, dword [ebp - 0x14c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x160]
test ecx, ecx
jne 0x403aa0
jmp 0x403cfa
mov ecx, dword [ebp - 0x160]
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov esi, dword [sym.imp.ole32.dll_CoUninitialize]
push str.unknown
lea ecx, [ebp - 0x130]
call fcn.00401760
mov byte [ebp - 4], 0x2a
cmp dword [ebp - 0xf0], 0
jbe 0x403d6e
sub esp, 0x18
lea eax, [ebp - 0x100]
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004017f0
lea ecx, [ebp - 0xa8]
call fcn.0043e890
add esp, 0x18
lea ecx, [ebp - 0x130]
push eax
call fcn.0040a4a0
lea ecx, [ebp - 0xa8]
call fcn.004017c0
push str.unknown
lea ecx, [ebp - 0x148]
call fcn.00401760
mov byte [ebp - 4], 0x2b
cmp dword [ebp - 0xc0], 0
jbe 0x403dd6
sub esp, 0x18
lea eax, [ebp - 0xd0]
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004017f0
lea ecx, [ebp - 0xa8]
call fcn.0043e890
add esp, 0x18
lea ecx, [ebp - 0x148]
push eax
call fcn.0040a4a0
lea ecx, [ebp - 0xa8]
call fcn.004017c0
push str.unknown
lea ecx, [ebp - 0x118]
call fcn.00401760
mov byte [ebp - 4], 0x2c
cmp dword [ebp - 0xd8], 0
jbe 0x403e3e
sub esp, 0x18
lea eax, [ebp - 0xe8]
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004017f0
lea ecx, [ebp - 0xa8]
call fcn.0043e890
add esp, 0x18
lea ecx, [ebp - 0x118]
push eax
call fcn.0040a4a0
lea ecx, [ebp - 0xa8]
call fcn.004017c0
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0xb8]
call fcn.0040b020
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0xb8]
call fcn.0040b020
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0xb8]
call fcn.0040b020
mov eax, dword [ebp - 0x164]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x168]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call esi
lea eax, [ebp - 0xb8]
mov ecx, ebx
push eax
call fcn.0040af90
cmp dword [ebp - 0x104], 0x10
jb 0x403eb3
push dword [ebp - 0x118]
call fcn.00440f10
add esp, 4
cmp dword [ebp - 0x134], 0x10
mov dword [ebp - 0x104], 0xf
mov dword [ebp - 0x108], 0
mov byte [ebp - 0x118], 0
jb 0x403ee5
push dword [ebp - 0x148]
call fcn.00440f10
add esp, 4
cmp dword [ebp - 0x11c], 0x10
mov dword [ebp - 0x134], 0xf
mov dword [ebp - 0x138], 0
mov byte [ebp - 0x148], 0
jb 0x403f17
push dword [ebp - 0x130]
call fcn.00440f10
add esp, 4
cmp dword [ebp - 0xd4], 0x10
mov dword [ebp - 0x11c], 0xf
mov dword [ebp - 0x120], 0
mov byte [ebp - 0x130], 0
jb 0x403f49
push dword [ebp - 0xe8]
call fcn.00440f10
add esp, 4
cmp dword [ebp - 0xbc], 0x10
jb 0x403f60
push dword [ebp - 0xd0]
call fcn.00440f10
add esp, 4
cmp dword [ebp - 0xec], 0x10
jb 0x403f77
push dword [ebp - 0x100]
call fcn.00440f10
add esp, 4
mov esi, dword [ebp - 0xb8]
test esi, esi
je 0x403f96
push dword [ebp - 0xb4]
push esi
call fcn.0040d200
push esi
call fcn.00440f10
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c0564
mov esp, ebp
pop ebp
ret