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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e9fc5
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
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 edi, dword [ebp + 8]
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
mov dword [ebp - 0x98], edi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [ebp - 0xa4], 0
lea eax, [ebp - 0xa4]
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 0x4bc635
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
jmp 0x4bc786
mov dword [ebp - 0xa0], 0
mov esi, dword [ebp - 0xa4]
lea ecx, [ebp - 0x98]
push 0x514a20
mov byte [ebp - 4], 1
call fcn.004a5210
mov eax, dword [eax]
mov byte [ebp - 4], 2
test eax, eax
je 0x4bc667
mov ecx, dword [eax]
jmp 0x4bc669
xor ecx, ecx
mov eax, dword [esi]
lea edx, [ebp - 0xa0]
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 - 0x98]
mov esi, eax
call fcn.004a5510
test esi, esi
jns 0x4bc6aa
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
jmp 0x4bc772
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0xa0]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x4bc694
mov dword [ebp - 0x9c], 0
mov ebx, dword [ebp - 0xa0]
lea ecx, [ebp - 0xa8]
push str.SELECT__FROM_Win32_DiskDrive
mov byte [ebp - 4], 3
call fcn.004a5210
mov esi, eax
push 0x514a74
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 4
call fcn.004a5210
mov edx, dword [esi]
mov byte [ebp - 4], 5
test edx, edx
je 0x4bc710
mov edx, dword [edx]
jmp 0x4bc712
xor edx, edx
mov eax, dword [eax]
test eax, eax
je 0x4bc71c
mov ecx, dword [eax]
jmp 0x4bc71e
xor ecx, ecx
mov eax, dword [ebx]
lea esi, [ebp - 0x9c]
push esi
push 0
push 0x30
push edx
push ecx
push ebx
call dword [eax + 0x50]
lea ecx, [ebp - 0x98]
mov esi, eax
call fcn.004a5510
lea ecx, [ebp - 0xa8]
call fcn.004a5510
test esi, esi
jns 0x4bc7a6
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov eax, dword [ebp - 0x9c]
mov byte [ebp - 4], 1
test eax, eax
je 0x4bc772
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xa0]
mov byte [ebp - 4], 0
test eax, eax
je 0x4bc786
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x4bcd11
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4bcd11
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
mov ebx, 0xf
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], ebx
mov byte [ebp - 0x48], 0
mov eax, dword [ebp - 0x9c]
test eax, eax
je 0x4bcc88
mov dword [ebp - 0x94], 0
lea edx, [ebp - 0x98]
mov dword [ebp - 0x98], 0
mov ecx, dword [eax]
push edx
lea edx, [ebp - 0x94]
mov byte [ebp - 4], 9
push edx
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x4bcc6e
cmp dword [ebp - 0x98], 0
je 0x4bcc6e
push str.SerialNumber
push dword [ebp - 0x94]
lea eax, [ebp - 0x90]
push eax
call fcn.004bcd30
mov edx, eax
add esp, 0xc
lea eax, [ebp - 0x48]
cmp eax, edx
je 0x4bc889
mov eax, dword [edx + 8]
mov esi, dword [edx]
mov ecx, dword [edx + 4]
mov ebx, dword [edx + 0x14]
mov dword [ebp - 0x40], eax
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x3c], eax
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ebx
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
jmp 0x4bc88c
mov esi, dword [ebp - 0x48]
lea ecx, [ebp - 0x90]
call fcn.00414d80
cmp dword [ebp - 0x38], 0
jne 0x4bc8bc
mov eax, dword [ebp - 0x94]
mov byte [ebp - 4], 8
test eax, eax
je 0x4bc8b1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x9c]
jmp 0x4bcc8b
push str.Model
push dword [ebp - 0x94]
lea eax, [ebp - 0x90]
push eax
call fcn.004bcd30
mov edx, eax
add esp, 0xc
lea eax, [ebp - 0x78]
cmp eax, edx
je 0x4bc91b
mov eax, dword [edx + 8]
mov ebx, dword [edx]
mov ecx, dword [edx + 4]
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 - 0xa8], ebx
mov dword [ebp - 0x78], ebx
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 0x4bc924
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xa8], eax
lea ecx, [ebp - 0x90]
call fcn.00414d80
push str.FirmwareRevision
push dword [ebp - 0x94]
lea eax, [ebp - 0x90]
push eax
call fcn.004bcd30
mov edx, eax
add esp, 0xc
lea eax, [ebp - 0x60]
cmp eax, edx
je 0x4bc98e
mov eax, dword [edx + 8]
mov ebx, dword [edx]
mov ecx, dword [edx + 4]
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 - 0xac], ebx
mov dword [ebp - 0x60], ebx
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 0x4bc997
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xac], eax
lea ecx, [ebp - 0x90]
call fcn.00414d80
mov eax, dword [ebp - 0x94]
mov byte [ebp - 4], 8
test eax, eax
je 0x4bc9b6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x68]
mov eax, 0x20202020
mov ebx, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
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
test ecx, ecx
je 0x4bca71
cmp ecx, 4
mov dword [ebp - 0x98], ecx
lea eax, [ebp - 0x98]
mov dword [ebp - 0x94], 4
lea edx, [ebp - 0x94]
cmovge eax, edx
lea ecx, [ebp - 0x78]
cmp dword [ebp - 0x64], 0x10
cmovae ecx, dword [ebp - 0xa8]
mov eax, dword [eax]
test eax, eax
je 0x4bca71
test ecx, ecx
je 0x4bca34
cmp eax, 0x1e
ja 0x4bca34
push eax
push ecx
lea eax, [ebp - 0x30]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
jmp 0x4bca71
xor edx, edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov word [ebp - 0x14], dx
test ecx, ecx
jne 0x4bca5d
call ebx
mov dword [eax], 0x16
jmp 0x4bca6a
cmp eax, 0x1e
jbe 0x4bca71
call ebx
mov dword [eax], 0x22
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
call eax
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x4bcb04
cmp ecx, 4
mov dword [ebp - 0x98], ecx
lea eax, [ebp - 0x98]
mov dword [ebp - 0x94], 4
lea edx, [ebp - 0x94]
cmovge eax, edx
lea ecx, [ebp - 0x60]
cmp dword [ebp - 0x4c], 0x10
cmovae ecx, dword [ebp - 0xac]
mov eax, dword [eax]
test eax, eax
je 0x4bcb04
test ecx, ecx
je 0x4bcacb
cmp eax, 0x1a
ja 0x4bcacb
push eax
push ecx
lea eax, [ebp - 0x2c]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
jmp 0x4bcb04
xor edx, edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov word [ebp - 0x14], dx
test ecx, ecx
jne 0x4bcaf1
call ebx
mov dword [eax], 0x16
jmp 0x4bcafe
cmp eax, 0x1a
jbe 0x4bcb04
call ebx
mov dword [eax], 0x22
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x98]
cmp ecx, 0x14
mov dword [ebp - 0x98], ecx
lea edx, [ebp - 0x94]
mov dword [ebp - 0x94], 0x14
cmovge eax, edx
lea ecx, [ebp - 0x48]
cmp dword [ebp - 0x34], 0x10
cmovae ecx, esi
mov eax, dword [eax]
test eax, eax
je 0x4bcb88
test ecx, ecx
je 0x4bcb52
cmp eax, 0x16
ja 0x4bcb52
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
jmp 0x4bcb88
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov word [ebp - 0x14], dx
test ecx, ecx
jne 0x4bcb75
call ebx
mov dword [eax], 0x16
jmp 0x4bcb82
cmp eax, 0x16
jbe 0x4bcb88
call ebx
mov dword [eax], 0x22
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
lea ecx, [ebp - 0x30]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x14], 0
mov byte [edi], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4bcba3
sub ecx, edx
lea eax, [ebp - 0x30]
push ecx
push eax
mov ecx, edi
call fcn.0041ac00
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 7
cmp eax, 0x10
jb 0x4bcbef
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x4bcbe5
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bccc2
push ecx
push esi
call fcn.004bee2d
add esp, 8
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 4], 6
cmp eax, 0x10
jb 0x4bcc2c
mov edx, dword [ebp - 0xac]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x4bcc22
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bccc2
push ecx
push edx
call fcn.004bee2d
add esp, 8
mov eax, dword [ebp - 0x64]
mov byte [ebp - 4], 3
cmp eax, 0x10
jb 0x4bc75e
mov edx, dword [ebp - 0xa8]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x4bcc5f
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bccc2
push ecx
push edx
call fcn.004bee2d
add esp, 8
jmp 0x4bc75e
mov eax, dword [ebp - 0x94]
mov byte [ebp - 4], 8
test eax, eax
je 0x4bcc82
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x9c]
mov esi, dword [ebp - 0x48]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov byte [ebp - 4], 7
cmp ebx, 0x10
jb 0x4bccd8
lea ecx, [ebx + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x4bccc8
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4bccc8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.004bee2d
mov eax, dword [ebp - 0x9c]
add esp, 8
mov byte [ebp - 4], 1
test eax, eax
je 0x4bcce6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xa0]
mov byte [ebp - 4], 0
test eax, eax
je 0x4bccfa
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x4bcd11
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, edi
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