Function at 0x4a043d
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, 0x664
mov eax, dword [0x64106c]
xor eax, esp
mov dword [esp + 0x660], eax
push ebx
push esi
push edi
push 0x1800
xor ebx, ebx
push ebx
push 0xa3dc48
call fcn.0050b8e0
add esp, 0xc
push ebx
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
js 0x4a0932
lea eax, [esp + 0x40]
mov dword [esp + 0x40], ebx
push eax
push 0x5fe0d0
push 1
push ebx
push 0x5fe0c0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4a0932
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x28]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
mov dword [esp + 0x44], ebx
mov ecx, dword [eax]
push str.ROOTCIMV2
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x4a0928
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push dword [esp + 0x44]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x4a091e
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x20]
push edx
push ebx
push 0x30
push str.SELECT__FROM_Win32_ComputerSystemProduct
mov dword [esp + 0x30], ebx
mov ecx, dword [eax]
push 0x627db8
push eax
call dword [ecx + pe_nt_image_headers32]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
js 0x4a05a7
mov eax, dword [esp + 0x20]
xor edx, edx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x18], edx
lea edx, [esp + 0x4c]
push edx
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x4a059d
cmp dword [esp + 0x4c], 0
jbe 0x4a059d
xor eax, eax
lea edi, [esp + 0x32]
mov word [esp + 0x30], ax
lea edx, [esp + 0x30]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x18]
xor edi, edi
push edi
push edi
push edx
mov ecx, dword [eax]
push edi
push str.UUID
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x4a0593
push 0x100
push dword [esp + 0x3c]
push 0xa3e248
call esi
lea eax, [esp + 0x30]
push eax
call ebx
mov eax, dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x20]
push edx
xor edi, edi
push edi
mov ecx, dword [eax]
push 0x30
push str.SELECT__FROM_Win32_ComputerSystemProduct
push 0x627db8
push eax
call dword [ecx + pe_nt_image_headers32]
test eax, eax
js 0x4a064f
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x4c]
push edx
lea edx, [esp + 0x1c]
mov dword [esp + 0x50], edi
push edx
push 1
mov dword [esp + 0x24], edi
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x4a0645
cmp dword [esp + 0x4c], edi
jbe 0x4a0645
xor eax, eax
lea edi, [esp + 0x32]
mov word [esp + 0x30], ax
lea edx, [esp + 0x30]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x18]
xor edi, edi
push edi
push edi
push edx
mov ecx, dword [eax]
push edi
push str.Name
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x4a063b
push 0x100
push dword [esp + 0x3c]
push 0xa3e448
call esi
lea eax, [esp + 0x30]
push eax
call ebx
mov eax, dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x20]
push edx
push edi
push 0x30
mov ecx, dword [eax]
push str.SELECT__FROM_Win32_OperatingSystem
push 0x627db8
push eax
call dword [ecx + pe_nt_image_headers32]
test eax, eax
js 0x4a06f6
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x4c]
push edx
lea edx, [esp + 0x1c]
mov dword [esp + 0x50], edi
push edx
push 1
mov dword [esp + 0x24], edi
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x4a06ec
cmp dword [esp + 0x4c], 0
jbe 0x4a06ec
xor eax, eax
lea edi, [esp + 0x32]
mov word [esp + 0x30], ax
lea edx, [esp + 0x30]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x18]
xor edi, edi
push edi
push edi
push edx
mov ecx, dword [eax]
push edi
push str.SerialNumber
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x4a06e2
push 0x100
push dword [esp + 0x3c]
push 0xa3e648
call esi
lea eax, [esp + 0x30]
push eax
call ebx
mov eax, dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x20]
push edx
push edi
push 0x30
mov ecx, dword [eax]
push str.SELECT__FROM_Win32_OperatingSystem
push 0x627db8
push eax
call dword [ecx + pe_nt_image_headers32]
test eax, eax
js 0x4a07ce
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x4c]
push edx
lea edx, [esp + 0x1c]
mov dword [esp + 0x50], edi
push edx
push 1
mov dword [esp + 0x24], edi
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x4a07c4
cmp dword [esp + 0x4c], 0
jbe 0x4a07c4
xor eax, eax
lea edi, [esp + 0x32]
mov word [esp + 0x30], ax
lea edx, [esp + 0x30]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x18]
xor edi, edi
push edi
push edi
push edx
mov ecx, dword [eax]
push edi
push str.InstallDate
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x4a07ba
push 0x100
push dword [esp + 0x3c]
push 0xa3e848
call esi
mov edx, edi
cmp word [0xa3e848], dx
je 0x4a07b3
mov eax, 0xa3e848
mov ecx, eax
cmp word [eax], 0x2e
jne 0x4a07a3
xor eax, eax
mov word [ecx], ax
inc edx
add ecx, 2
lea eax, [edx*2 + 0xa3e848]
cmp word [eax], di
jne 0x4a0798
lea eax, [esp + 0x30]
push eax
call ebx
mov eax, dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x20]
push edx
push edi
push 0x30
mov ecx, dword [eax]
push str.SELECT__FROM_Win32_BIOS
push 0x627db8
push eax
call dword [ecx + pe_nt_image_headers32]
test eax, eax
js 0x4a0875
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x4c]
push edx
lea edx, [esp + 0x1c]
mov dword [esp + 0x50], edi
push edx
push 1
mov dword [esp + 0x24], edi
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x4a086b
cmp dword [esp + 0x4c], 0
jbe 0x4a086b
xor eax, eax
lea edi, [esp + 0x32]
mov word [esp + 0x30], ax
lea edx, [esp + 0x30]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x18]
xor edi, edi
push edi
push edi
push edx
mov ecx, dword [eax]
push edi
push str.SerialNumber
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x4a0861
push 0x100
push dword [esp + 0x3c]
push 0xa3ea48
call esi
lea eax, [esp + 0x30]
push eax
call ebx
mov eax, dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x20]
push edx
push edi
push 0x30
mov ecx, dword [eax]
push str.SELECT__FROM_Win32_BIOS
push 0x627db8
push eax
call dword [ecx + pe_nt_image_headers32]
test eax, eax
js 0x4a091c
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x4c]
push edx
lea edx, [esp + 0x1c]
mov dword [esp + 0x50], edi
push edx
push 1
mov dword [esp + 0x24], edi
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x4a0912
cmp dword [esp + 0x4c], 0
jbe 0x4a0912
xor eax, eax
lea edi, [esp + 0x32]
mov word [esp + 0x30], ax
lea edx, [esp + 0x30]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x18]
xor edi, edi
push edi
push edi
push edx
mov ecx, dword [eax]
push edi
push str.SMBIOSBIOSVersion
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x4a0908
push 0x100
push dword [esp + 0x3c]
push 0xa3ec48
call esi
lea eax, [esp + 0x30]
push eax
call ebx
mov eax, dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
xor ebx, ebx
mov eax, dword [esp + 0x28]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x40]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
mov eax, 1
xor edx, edx
cpuid
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
push dword [esp + 0x10]
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
push dword [esp + 0x18]
push str._08X_08X
push 0xa3dc48
call edi
add esp, 0x10
xor ebx, ebx
mov esi, ebx
push 0x200
lea eax, [esp + 0x46c]
push ebx
push eax
call fcn.0050b8e0
add esp, 0xc
lea edx, [esp + 0x468]
mov ecx, esi
call fcn.004a018c
test eax, eax
jne 0x4a099c
inc esi
cmp esi, 0xa
jl 0x4a096c
jmp 0x4a09af
lea eax, [esp + 0x468]
push eax
push 0xa3de48
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esp + 0x48]
mov dword [esp + 0x48], ebx
push eax
push ebx
mov byte [esp + 0x54], bl
mov dword [esp + 0x55], ebx
mov byte [esp + 0x59], bl
mov ebx, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
call ebx
push dword [esp + 0x48]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4a0a24
lea eax, [esp + 0x48]
push eax
push esi
call ebx
test eax, eax
jne 0x4a0a24
mov ebx, dword [esp + 0x4c]
lea ecx, [esi + 8]
call fcn.004a0302
mov ecx, eax
cmp ecx, 1
je 0x4a0a02
test ecx, ecx
jne 0x4a0a1c
mov ax, word [esi + 0x198]
mov ebx, dword [esi + 0x194]
mov dword [esp + 0x4c], ebx
mov word [esp + 0x50], ax
test ecx, ecx
je 0x4a0a28
mov esi, dword [esi]
test esi, esi
jne 0x4a09ef
jmp 0x4a0a28
mov ebx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
shr eax, 8
movzx eax, al
push eax
movzx eax, byte [esp + 0x54]
push eax
mov eax, ebx
shr eax, 0x18
push eax
mov eax, ebx
shr ebx, 8
shr eax, 0x10
movzx eax, al
push eax
movzx eax, bl
push eax
movzx eax, byte [esp + 0x60]
push eax
push str._02X__02X__02X__02X__02X__02X
push 0xa3e048
call edi
add esp, 0x20
lea eax, [esp + 0x54]
xor ebx, ebx
mov dword [esp + 0x54], ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
push ebx
push 0x61fd44
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x4a0a97
push dword [esp + 0x54]
push str._08X
push 0xa3ee48
call edi
add esp, 0xc
mov esi, 0x208
lea eax, [esp + 0x260]
push esi
push ebx
push eax
call fcn.0050b8e0
add esp, 0xc
lea eax, [esp + 0x58]
push esi
push ebx
push eax
call fcn.0050b8e0
add esp, 0xc
lea eax, [esp + 0x260]
xorps xmm0, xmm0
movlpd qword [esp + 0x28], xmm0
movlpd qword [esp + 0x18], xmm0
push eax
push ebx
push ebx
push 0x25
push ebx
movlpd qword [esp + 0x54], xmm0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x4a0c7c
push str.kernel32.dll
lea eax, [esp + 0x264]
push eax
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileTime]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4a0b7a
xor eax, eax
push eax
push eax
push 3
push eax
push 1
push bind
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4a0b7a
xor eax, eax
push eax
push eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
lea eax, [esp + 0x54]
push eax
push esi
call ebx
test eax, eax
je 0x4a0b77
mov ecx, dword [esp + 0x4c]
xor edx, edx
mov eax, dword [esp + 0x50]
add ecx, 0x2ac18000
push edx
push 0x989680
adc eax, 0xfe624e21
push eax
push ecx
call fcn.004c2940
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
push esi
call edi
push str.user32.dll
lea eax, [esp + 0x264]
push eax
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x4a0bfb
xor eax, eax
push eax
push eax
push 3
push eax
push 1
push bind
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4a0bfb
xor eax, eax
push eax
push eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
lea eax, [esp + 0x54]
push eax
push esi
call ebx
test eax, eax
je 0x4a0bf8
mov ecx, dword [esp + 0x4c]
xor edx, edx
mov eax, dword [esp + 0x50]
add ecx, 0x2ac18000
push edx
push 0x989680
adc eax, 0xfe624e21
push eax
push ecx
call fcn.004c2940
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
push esi
call edi
push str.notepad.exe
lea eax, [esp + 0x264]
push eax
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x4a0c7c
xor eax, eax
push eax
push eax
push 3
push eax
push 1
push bind
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4a0c7c
xor eax, eax
push eax
push eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
lea eax, [esp + 0x54]
push eax
push esi
call ebx
test eax, eax
je 0x4a0c79
mov ecx, dword [esp + 0x4c]
xor edx, edx
mov eax, dword [esp + 0x50]
add ecx, 0x2ac18000
push edx
push 0x989680
adc eax, 0xfe624e21
push eax
push ecx
call fcn.004c2940
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
push esi
call edi
push dword [esp + 0x44]
push dword [esp + 0x44]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push str._llu__llu__llu
push 0x100
push 0xa3f048
call fcn.004a0d01
mov ecx, dword [esp + 0x690]
add esp, 0x24
mov eax, 0xa3dc48
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004c21c3
mov esp, ebp
pop ebp
ret