Function at 0x4b9390
Capabilities:
Connect to wmi namespace via wbemlocator
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e9bfc
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x53d9f8]
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, dword [ebp + 8]
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
mov dword [ebp - 0x80], ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [ebp - 0x8c], 0
lea eax, [ebp - 0x8c]
mov dword [ebp - 4], 0
push eax
push 0x51502c
push 1
push 0
push 0x51501c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x4b9422
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
jmp 0x4b9567
mov dword [ebp - 0x88], 0
mov esi, dword [ebp - 0x8c]
lea ecx, [ebp - 0x80]
push 0x514a20
mov byte [ebp - 4], 1
call fcn.004a5210
mov eax, dword [eax]
mov byte [ebp - 4], 2
test eax, eax
je 0x4b9451
mov ecx, dword [eax]
jmp 0x4b9453
xor ecx, ecx
mov eax, dword [esi]
lea edx, [ebp - 0x88]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
push esi
call dword [eax + 0xc]
lea ecx, [ebp - 0x80]
mov esi, eax
call fcn.004a5510
test esi, esi
jns 0x4b9491
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
jmp 0x4b9553
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x88]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x4b947b
mov dword [ebp - 0x84], 0
mov edi, dword [ebp - 0x88]
lea ecx, [ebp - 0x90]
push str.SELECT__FROM_Win32_DiskDrive
mov byte [ebp - 4], 3
call fcn.004a5210
mov esi, eax
push 0x514a74
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 4
call fcn.004a5210
mov edx, dword [esi]
mov byte [ebp - 4], 5
test edx, edx
je 0x4b94f4
mov edx, dword [edx]
jmp 0x4b94f6
xor edx, edx
mov eax, dword [eax]
test eax, eax
je 0x4b9500
mov ecx, dword [eax]
jmp 0x4b9502
xor ecx, ecx
mov eax, dword [edi]
lea esi, [ebp - 0x84]
push esi
push 0
push 0x30
push edx
push ecx
push edi
call dword [eax + 0x50]
lea ecx, [ebp - 0x80]
mov esi, eax
call fcn.004a5510
lea ecx, [ebp - 0x90]
call fcn.004a5510
test esi, esi
jns 0x4b9587
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
mov eax, dword [ebp - 0x84]
mov byte [ebp - 4], 1
test eax, eax
je 0x4b9553
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x88]
mov byte [ebp - 4], 0
test eax, eax
je 0x4b9567
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x4b99b5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4b99b5
xor eax, eax
mov dword [ebp - 0x64], 0xf
mov dword [ebp - 0x68], eax
mov byte [ebp - 0x78], al
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], al
mov edi, 0xf
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edi
mov byte [ebp - 0x48], al
mov eax, dword [ebp - 0x84]
mov esi, dword [ebp - 0x48]
test eax, eax
je 0x4b9931
mov dword [ebp - 0x7c], 0
lea edx, [ebp - 0x80]
mov dword [ebp - 0x80], 0
mov ecx, dword [eax]
push edx
lea edx, [ebp - 0x7c]
mov byte [ebp - 4], 9
push edx
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x4b9917
cmp dword [ebp - 0x80], 0
je 0x4b9917
push str.SerialNumber
push dword [ebp - 0x7c]
lea eax, [ebp - 0x2c]
push eax
call fcn.004b99e0
mov edi, eax
add esp, 0xc
lea eax, [ebp - 0x48]
cmp eax, edi
je 0x4b967c
mov eax, dword [ebp - 0x34]
cmp eax, 0x10
jb 0x4b9648
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x4b963e
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b9966
push ecx
push esi
call fcn.004bee2d
add esp, 8
mov eax, dword [edi + 4]
mov esi, dword [edi]
mov dword [ebp - 0x44], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x3c], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x34], eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
lea ecx, [ebp - 0x2c]
call fcn.00414d80
mov edi, dword [ebp - 0x38]
test edi, edi
jne 0x4b96af
mov eax, dword [ebp - 0x7c]
mov byte [ebp - 4], 8
test eax, eax
je 0x4b969c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x84]
test eax, eax
jne 0x4b95c2
jmp 0x4b992e
push str.Model
push dword [ebp - 0x7c]
lea eax, [ebp - 0x2c]
push eax
call fcn.004b99e0
mov edx, eax
add esp, 0xc
lea eax, [ebp - 0x78]
cmp eax, edx
je 0x4b9708
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x78], eax
mov eax, dword [edx + 8]
mov dword [ebp - 0x70], eax
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x6c], eax
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x68], eax
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x64], eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
jmp 0x4b9711
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x90], eax
lea ecx, [ebp - 0x2c]
call fcn.00414d80
push str.FirmwareRevision
push dword [ebp - 0x7c]
lea eax, [ebp - 0x2c]
push eax
call fcn.004b99e0
mov edx, eax
add esp, 0xc
lea eax, [ebp - 0x60]
cmp eax, edx
je 0x4b9772
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x60], eax
mov eax, dword [edx + 8]
mov dword [ebp - 0x58], eax
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x54], eax
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x50], eax
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x4c], eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
jmp 0x4b977b
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x94], eax
lea ecx, [ebp - 0x2c]
call fcn.00414d80
mov eax, dword [ebp - 0x7c]
mov byte [ebp - 4], 8
test eax, eax
je 0x4b9794
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 0x20202020
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov word [ebp - 0x14], ax
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x4b97ec
cmp eax, 4
mov dword [ebp - 0x80], eax
lea edx, [ebp - 0x7c]
mov dword [ebp - 0x7c], 4
lea ecx, [ebp - 0x80]
cmovge ecx, edx
lea eax, [ebp - 0x78]
cmp dword [ebp - 0x64], 0x10
cmovae eax, dword [ebp - 0x90]
push dword [ecx]
push eax
lea eax, [ebp - 0x30]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x4b9826
cmp eax, 4
mov dword [ebp - 0x80], eax
lea edx, [ebp - 0x7c]
mov dword [ebp - 0x7c], 4
lea ecx, [ebp - 0x80]
cmovge ecx, edx
lea eax, [ebp - 0x60]
cmp dword [ebp - 0x4c], 0x10
cmovae eax, dword [ebp - 0x94]
push dword [ecx]
push eax
lea eax, [ebp - 0x2c]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp edi, 0x14
mov dword [ebp - 0x80], edi
mov edi, dword [ebp - 0x34]
lea eax, [ebp - 0x7c]
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x7c], 0x14
cmovge ecx, eax
cmp edi, 0x10
lea eax, [ebp - 0x48]
cmovae eax, esi
push dword [ecx]
push eax
lea eax, [ebp - 0x28]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [ebp - 0x14], 0
lea eax, [ebp - 0x30]
mov ecx, ebx
push eax
call fcn.0046f250
mov byte [ebp - 4], 7
cmp edi, 0x10
jb 0x4b9898
inc edi
mov eax, esi
cmp edi, 0x1000
jb 0x4b988e
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b9966
push edi
push esi
call fcn.004bee2d
add esp, 8
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 4], 6
cmp eax, 0x10
jb 0x4b98d5
mov ecx, dword [ebp - 0x94]
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b98cb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b9966
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov eax, dword [ebp - 0x64]
mov byte [ebp - 4], 3
cmp eax, 0x10
jb 0x4b953f
mov ecx, dword [ebp - 0x90]
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b9908
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b9966
push edx
push ecx
call fcn.004bee2d
add esp, 8
jmp 0x4b953f
mov eax, dword [ebp - 0x7c]
mov byte [ebp - 4], 8
test eax, eax
je 0x4b9928
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x84]
mov edi, dword [ebp - 0x34]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
mov byte [ebp - 4], 7
cmp edi, 0x10
jb 0x4b997c
inc edi
mov eax, esi
cmp edi, 0x1000
jb 0x4b996c
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4b996c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edi
push esi
call fcn.004bee2d
mov eax, dword [ebp - 0x84]
add esp, 8
mov byte [ebp - 4], 1
test eax, eax
je 0x4b998a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x88]
mov byte [ebp - 4], 0
test eax, eax
je 0x4b999e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x4b99b5
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
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.004bee49
mov esp, ebp
pop ebp
ret