Function at 0x4326b0
Capabilities:
Connect to wmi namespace via wbemlocator
Get common file path
Get disk information
Get mac address on windows
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x660
mov eax, dword [0x580ca0]
xor eax, esp
mov dword [esp + 0x65c], eax
push ebx
push edi
push 0x200
push 0
push esi
call fcn.004ba280
add esp, 0xc
push 0x200
lea eax, [esi + 0x200]
push 0
push eax
call fcn.004ba280
add esp, 0xc
push 0x200
lea eax, [esi + 0x400]
push 0
push eax
call fcn.004ba280
add esp, 0xc
push 0x200
lea ebx, [esi + 0x600]
push 0
push ebx
call fcn.004ba280
add esp, 0xc
push 0x200
lea edi, [esi + 0x800]
push 0
push edi
call fcn.004ba280
add esp, 0xc
push 0x200
lea eax, [esi + 0xa00]
push 0
push eax
call fcn.004ba280
add esp, 0xc
push 0x200
lea eax, [esi + 0xc00]
push 0
push eax
call fcn.004ba280
add esp, 0xc
push 0x200
lea eax, [esi + 0xe00]
push 0
push eax
call fcn.004ba280
add esp, 0xc
push 0x200
lea eax, [esi + 0x1000]
push 0
push eax
call fcn.004ba280
add esp, 0xc
push 0x200
lea eax, [esi + 0x1200]
push 0
push eax
call fcn.004ba280
add esp, 0xc
push 0x200
lea eax, [esi + 0x1400]
push 0
push eax
call fcn.004ba280
add esp, 0xc
push 0x200
lea eax, [esi + 0x1600]
push 0
push eax
call fcn.004ba280
add esp, 0xc
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jl 0x432d75
lea ecx, [esp + 0x38]
push ecx
push 0x540054
push 1
push 0
push 0x540124
mov dword [esp + 0x4c], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x432d75
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
mov dword [esp + 0x2c], 0
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push str.ROOTCIMV2
push eax
call edx
test eax, eax
jl 0x432d65
mov eax, dword [esp + 0x10]
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jl 0x432d49
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x28]
push edx
push 0
push 0x30
push str.SELECT__FROM_Win32_ComputerSystemProduct
mov dword [esp + 0x38], 0
mov ecx, dword [eax]
push 0x5517dc
push eax
mov eax, dword [ecx + 0x50]
call eax
test eax, eax
jl 0x43293e
lea edx, [esp + 0x48]
push edx
xor eax, eax
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jl 0x432932
cmp dword [esp + 0x48], 0
jbe 0x432932
xor ecx, ecx
push ecx
push ecx
xor eax, eax
mov word [esp + 0x20], cx
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x26], eax
mov dword [esp + 0x2a], eax
mov dword [esp + 0x2e], eax
mov word [esp + 0x32], ax
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push 0
push str.UUID
push eax
call edx
test eax, eax
jl 0x432926
mov eax, dword [esp + 0x20]
push 0x100
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 8]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push edx
xor ebx, ebx
push ebx
push 0x30
push str.SELECT__FROM_Win32_ComputerSystemProduct
push 0x5517dc
push eax
mov eax, dword [ecx + 0x50]
call eax
test eax, eax
jl 0x4329fd
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x48]
push edx
lea edx, [esp + 0xc]
push edx
push 1
mov dword [esp + 0x54], ebx
mov dword [esp + 0x14], ebx
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jl 0x4329f1
cmp dword [esp + 0x48], ebx
jbe 0x4329f1
push ebx
xor ecx, ecx
xor eax, eax
push ebx
mov word [esp + 0x20], cx
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x26], eax
mov dword [esp + 0x2a], eax
mov dword [esp + 0x2e], eax
mov word [esp + 0x32], ax
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push ebx
push str.Name
push eax
call edx
test eax, eax
jl 0x4329e5
mov eax, dword [esp + 0x20]
push 0x100
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 8]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push edx
push ebx
push 0x30
push str.SELECT__FROM_Win32_OperatingSystem
push 0x5517dc
push eax
mov eax, dword [ecx + 0x50]
call eax
test eax, eax
jl 0x432ac0
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x48]
push edx
lea edx, [esp + 0xc]
push edx
push 1
mov dword [esp + 0x54], ebx
mov dword [esp + 0x14], ebx
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jl 0x432ab4
cmp dword [esp + 0x48], ebx
jbe 0x432ab4
push ebx
xor ecx, ecx
xor eax, eax
push ebx
mov word [esp + 0x20], cx
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x26], eax
mov dword [esp + 0x2a], eax
mov dword [esp + 0x2e], eax
mov word [esp + 0x32], ax
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push ebx
push str.SerialNumber
push eax
call edx
test eax, eax
jl 0x432aa8
mov eax, dword [esp + 0x20]
push 0x100
push eax
lea eax, [esi + 0xa00]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 8]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push edx
push ebx
push 0x30
push str.SELECT__FROM_Win32_OperatingSystem
push 0x5517dc
push eax
mov eax, dword [ecx + 0x50]
call eax
test eax, eax
jl 0x432ba9
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x48]
push edx
lea edx, [esp + 0xc]
push edx
push 1
mov dword [esp + 0x54], ebx
mov dword [esp + 0x14], ebx
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jl 0x432b9d
cmp dword [esp + 0x48], ebx
jbe 0x432b9d
push ebx
xor ecx, ecx
xor eax, eax
push ebx
mov word [esp + 0x20], cx
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x26], eax
mov dword [esp + 0x2a], eax
mov dword [esp + 0x2e], eax
mov word [esp + 0x32], ax
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push ebx
push str.InstallDate
push eax
call edx
test eax, eax
jl 0x432b91
mov eax, dword [esp + 0x20]
push 0x100
push eax
lea edi, [esi + 0xc00]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp word [edi], bx
je 0x432b86
mov ecx, edi
mov eax, edi
cmp word [ecx], 0x2e
jne 0x432b7c
xor edx, edx
mov word [ecx], dx
add eax, 2
mov ecx, eax
cmp word [eax], bx
jne 0x432b71
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push edx
push ebx
push 0x30
push str.SELECT__FROM_Win32_BIOS
push 0x5517dc
push eax
mov eax, dword [ecx + 0x50]
call eax
test eax, eax
jl 0x432c6c
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x48]
push edx
lea edx, [esp + 0xc]
push edx
push 1
mov dword [esp + 0x54], ebx
mov dword [esp + 0x14], ebx
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jl 0x432c60
cmp dword [esp + 0x48], ebx
jbe 0x432c60
push ebx
xor ecx, ecx
xor eax, eax
push ebx
mov word [esp + 0x20], cx
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x26], eax
mov dword [esp + 0x2a], eax
mov dword [esp + 0x2e], eax
mov word [esp + 0x32], ax
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push ebx
push str.SerialNumber
push eax
call edx
test eax, eax
jl 0x432c54
mov eax, dword [esp + 0x20]
push 0x100
push eax
lea eax, [esi + 0xe00]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 8]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push edx
push ebx
push 0x30
push str.SELECT__FROM_Win32_BIOS
push 0x5517dc
push eax
mov eax, dword [ecx + 0x50]
call eax
test eax, eax
jl 0x432d4b
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x48]
push edx
lea edx, [esp + 0xc]
push edx
push 1
mov dword [esp + 0x54], ebx
mov dword [esp + 0x14], ebx
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jl 0x432d23
cmp dword [esp + 0x48], ebx
jbe 0x432d23
push ebx
xor ecx, ecx
xor eax, eax
push ebx
mov word [esp + 0x20], cx
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x26], eax
mov dword [esp + 0x2a], eax
mov dword [esp + 0x2e], eax
mov word [esp + 0x32], ax
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push ebx
push str.SMBIOSBIOSVersion
push eax
call edx
test eax, eax
jl 0x432d17
mov eax, dword [esp + 0x20]
push 0x100
push eax
lea eax, [esi + 0x1000]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 8]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x432d77
xor ebx, ebx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x432d77
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
xor ebx, ebx
call edx
jmp 0x432d77
xor ebx, ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebx
mov eax, 1
xor edx, edx
cpuid
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
push eax
push ecx
push str._08X_08X
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
xor ebx, ebx
jmp 0x432db0
xor edx, edx
push 0x1fe
push edx
lea eax, [esp + 0x46a]
push eax
mov word [esp + 0x46c], dx
call fcn.004ba280
add esp, 0xc
push ebx
lea ecx, [esp + 0x464]
call fcn.004323d0
add esp, 4
test eax, eax
jne 0x432dec
inc ebx
cmp ebx, 0xa
jl 0x432db0
jmp 0x432e01
lea ecx, [esp + 0x460]
push ecx
lea eax, [esi + 0x200]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
lea edx, [esp + 0x30]
push edx
push eax
mov byte [esp + 0x50], 0
mov dword [esp + 0x51], eax
mov byte [esp + 0x55], al
mov dword [esp + 0x38], eax
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov eax, dword [esp + 0x30]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x432e78
lea ecx, [esp + 0x30]
push ecx
push ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x432e78
mov edi, dword [esp + 0x48]
lea ecx, [ebx + 8]
call fcn.00432560
cmp eax, 1
je 0x432e56
test eax, eax
jne 0x432e70
mov edi, dword [ebx + 0x194]
mov dx, word [ebx + 0x198]
mov dword [esp + 0x48], edi
mov word [esp + 0x4c], dx
test eax, eax
je 0x432e7c
mov ebx, dword [ebx]
test ebx, ebx
jne 0x432e45
jmp 0x432e7c
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
movzx edx, byte [esp + 0x4c]
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
shr eax, 8
movzx ecx, al
push ecx
push edx
mov eax, edi
shr eax, 0x18
push eax
mov ecx, edi
shr ecx, 0x10
movzx edx, cl
push edx
movzx edx, byte [esp + 0x58]
mov eax, edi
shr eax, 8
movzx ecx, al
push ecx
push edx
lea eax, [esi + 0x400]
push str._02X__02X__02X__02X__02X__02X
push eax
call ebx
add esp, 0x20
xor edi, edi
push edi
push edi
push edi
push edi
lea eax, [esp + 0x44]
push eax
push edi
push edi
push 0x551924
mov dword [esp + 0x54], edi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x432ef8
mov ecx, dword [esp + 0x34]
push ecx
lea eax, [esi + 0x1200]
push str._08X
push eax
call ebx
add esp, 0xc
push 0x206
lea eax, [esp + 0x25e]
xor edx, edx
push edi
push eax
mov word [esp + 0x264], dx
call fcn.004ba280
add esp, 0xc
push 0x206
lea edx, [esp + 0x56]
xor ecx, ecx
push edi
push edx
mov word [esp + 0x5c], cx
call fcn.004ba280
add esp, 0xc
lea eax, [esp + 0x258]
push eax
push edi
push edi
push 0x25
push edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x4330fa
push str.kernel32.dll
lea ecx, [esp + 0x25c]
push ecx
lea edx, [esp + 0x58]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x432fec
push edi
push edi
push 3
push edi
push 1
push connect
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x432fec
push edi
push edi
lea ecx, [esp + 0x18]
push ecx
push ebx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x432fe5
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push edi
add eax, 0x2ac18000
push 0x989680
adc ecx, 0xfe624e21
push ecx
push eax
mov dword [esp + 0x3c], edi
call fcn.004c1810
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.user32.dll
lea edx, [esp + 0x25c]
push edx
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x433073
push edi
push edi
push 3
push edi
push 1
push connect
lea ecx, [esp + 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x433073
push edi
push edi
lea edx, [esp + 0x18]
push edx
push ebx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x43306c
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push edi
add eax, 0x2ac18000
push 0x989680
adc ecx, 0xfe624e21
push ecx
push eax
mov dword [esp + 0x3c], edi
call fcn.004c1810
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.notepad.exe
lea eax, [esp + 0x25c]
push eax
lea ecx, [esp + 0x58]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x4330fa
push edi
push edi
push 3
push edi
push 1
push connect
lea edx, [esp + 0x68]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4330fa
push edi
push edi
lea eax, [esp + 0x18]
push eax
push ebx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x4330f3
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push edi
add eax, 0x2ac18000
push 0x989680
adc ecx, 0xfe624e21
push ecx
push eax
mov dword [esp + 0x3c], edi
call fcn.004c1810
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
push str._llu__llu__llu
lea eax, [esi + 0x1400]
push 0x100
push eax
call fcn.004c5926
mov ecx, dword [esp + 0x688]
add esp, 0x24
pop edi
pop ebx
xor ecx, esp
mov eax, esi
call fcn.004ba1db
mov esp, ebp
pop ebp
ret