Function at 0x4bb330
Capabilities:
Connect to wmi namespace via wbemlocator
Get common file path
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2cc
mov eax, dword [0x5322a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
cmp byte [0x53b5fd], bl
je 0x4bb41a
lea eax, [ebp - 0x2a8]
push eax
push 0x502118
mov esi, 1
push esi
push ebx
push 0x5021e8
mov dword [ebp - 0x2a8], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4bb414
mov eax, dword [ebp - 0x2a8]
lea edx, [ebp - 0x2a4]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
mov dword [ebp - 0x2a4], ebx
mov ecx, dword [eax]
push 0x52619c
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
js 0x4bb406
mov eax, dword [ebp - 0x2a4]
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
mov eax, dword [ebp - 0x2a4]
js 0x4bb3fe
lea edx, [ebp - 0x2b4]
push edx
push ebx
push 0x30
push str.SELECT__FROM_Win32_Processor
mov dword [ebp - 0x2b4], ebx
mov ecx, dword [eax]
push 0x526208
push eax
mov eax, dword [ecx + 0x50]
call eax
test eax, eax
jns 0x4bb42d
mov eax, dword [ebp - 0x2a4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x2a8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e3946
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x2b4]
mov dword [ebp - 0x2ac], ebx
cmp eax, ebx
je 0x4bb4b7
mov ecx, dword [eax]
lea edx, [ebp - 0x2ac]
push edx
lea edx, [ebp - 0x2b8]
push edx
push esi
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [ebp - 0x2ac], ebx
je 0x4bb4b1
mov eax, dword [ebp - 0x2b8]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [ebp - 0x2c8]
push edx
push ebx
push str.ProcessorID
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jne 0x4bb4b1
cmp word [ebp - 0x2c8], si
je 0x4bb4b1
mov eax, dword [ebp - 0x2c0]
mov edx, 0x53b6d0
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bx
jne 0x4bb495
lea ecx, [ebp - 0x2c8]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x2b4]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [ebp - 0x2a4]
lea edx, [ebp - 0x2b0]
push edx
push ebx
push 0x30
push str.SELECT__FROM_Win32_ComputerSystemProduct
mov dword [ebp - 0x2b0], ebx
mov ecx, dword [eax]
push 0x526208
push eax
mov eax, dword [ecx + 0x50]
call eax
test eax, eax
js 0x4bb3f8
mov eax, dword [ebp - 0x2b0]
mov dword [ebp - 0x2ac], ebx
cmp eax, ebx
je 0x4bb59f
mov ecx, dword [eax]
lea edx, [ebp - 0x2ac]
push edx
lea edx, [ebp - 0x2b8]
push edx
push esi
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [ebp - 0x2ac], ebx
je 0x4bb599
mov eax, dword [ebp - 0x2b8]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [ebp - 0x2c8]
push edx
push ebx
push str.UUID
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jne 0x4bb599
cmp word [ebp - 0x2c8], si
je 0x4bb599
mov eax, dword [ebp - 0x2c0]
mov edx, eax
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4bb556
mov edi, 0x53b6d0
sub eax, edx
add edi, 0xfffffffe
jmp 0x4bb570
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x4bb570
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x2c8]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x2b0]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
push 0x206
lea edx, [ebp - 0x29e]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x2a0], cx
call fcn.004e7d90
add esp, 0xc
push 0x104
lea eax, [ebp - 0x2a0]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ecx, dword [str..C:]
mov edx, dword [0x526628]
mov eax, dword [0x52662c]
mov dword [ebp - 0x14], ecx
mov cx, word [0x526630]
push 0x7e
mov dword [ebp - 0xc], eax
mov word [ebp - 8], cx
mov dword [ebp - 0x10], edx
mov dx, word [ebp - 0x2a0]
lea ecx, [ebp - 0x96]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0xc], dx
mov word [ebp - 0x98], ax
call fcn.004e7d90
lea edx, [ebp - 0x14]
add esp, 0xc
push edx
lea esi, [ebp - 0x98]
call fcn.004afa10
mov eax, esi
add esp, 4
xor ecx, ecx
lea esi, [eax + 2]
jmp 0x4bb640
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x4bb640
sub eax, esi
sar eax, 1
je 0x4bb6a1
mov edx, 0x20
cmp word [ebp + ecx*2 - 0x98], dx
jne 0x4bb667
inc ecx
cmp ecx, eax
jb 0x4bb656
jmp 0x4bb6a1
lea eax, [ebp + ecx*2 - 0x98]
mov edx, eax
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4bb670
mov edi, 0x53b6d0
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x4bb685
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x2a4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x2a8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.004e3946
mov esp, ebp
pop ebp
ret