Function at 0x41af40
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push 0xffffffffffffffff
push 0x4e2bdb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
push esi
push edi
xor ebp, ebp
push 0x518908
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], ebp
call fcn.004d49fb
mov edi, 1
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x70], edi
mov dword [esp + 0x14], ebp
push 0xc
mov byte [esp + 0x74], 3
call fcn.004d46ce
add esp, 4
mov dword [esp + 0x30], eax
cmp eax, ebp
mov byte [esp + 0x70], 4
je 0x41afab
push str.rootcimv2
mov ecx, eax
call fcn.0041b7a0
jmp 0x41afad
xor eax, eax
cmp eax, ebp
mov byte [esp + 0x70], 3
mov dword [esp + 0x18], eax
jne 0x41afc4
push 0x8007000e
call fcn.004ce60a
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x70], 5
cmp ecx, ebp
jne 0x41b023
lea eax, [esp + 0x1c]
push eax
push 0x4f65d0
push edi
push ebp
push 0x4f6690
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
je 0x41b01f
mov esi, dword [esp + 0x78]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.004d4702
mov dword [esp + 0x20], edi
lea ecx, [esp + 0x18]
call fcn.0041b750
mov eax, dword [esp + 0x14]
mov byte [esp + 0x70], 2
cmp eax, ebp
je 0x41b1cc
jmp 0x41b1c6
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x14], ebp
jne 0x41b080
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x41b035
mov eax, dword [eax]
jmp 0x41b037
xor eax, eax
lea esi, [esp + 0x14]
mov edx, dword [ecx]
push esi
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push eax
push ecx
call dword [edx + 0xc]
test eax, eax
je 0x41b080
mov esi, dword [esp + 0x78]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.004d4702
mov dword [esp + 0x20], edi
lea ecx, [esp + 0x18]
call fcn.0041b750
mov eax, dword [esp + 0x14]
mov byte [esp + 0x70], 2
cmp eax, ebp
je 0x41b582
jmp 0x41b57c
mov eax, dword [esp + 0x14]
push ebp
push ebp
push 3
push 3
push ebp
push ebp
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
cmp eax, ebp
je 0x41b0b2
mov esi, dword [esp + 0x78]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.004d4702
mov dword [esp + 0x20], edi
jmp 0x41b000
mov dword [esp + 0x24], ebp
push 0xc
mov byte [esp + 0x74], 6
call fcn.004d46ce
add esp, 4
mov dword [esp + 0x40], eax
cmp eax, ebp
mov byte [esp + 0x70], 7
je 0x41b0e0
push str.Select__from_win32_physicalmedia
mov ecx, eax
call fcn.0041b7a0
jmp 0x41b0e2
xor eax, eax
cmp eax, ebp
mov byte [esp + 0x70], 6
mov dword [esp + 0x2c], eax
jne 0x41b0f9
push 0x8007000e
call fcn.004ce60a
push 0xc
mov byte [esp + 0x74], 8
call fcn.004d46ce
add esp, 4
mov dword [esp + 0x40], eax
cmp eax, ebp
mov byte [esp + 0x70], 9
je 0x41b123
push 0x50a8bc
mov ecx, eax
call fcn.0041b7a0
jmp 0x41b125
xor eax, eax
mov ecx, eax
cmp eax, ebp
mov byte [esp + 0x70], 8
mov dword [esp + 0x30], ecx
jne 0x41b142
push 0x8007000e
call fcn.004ce60a
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x70], 0xa
cmp eax, ebp
je 0x41b153
mov edx, dword [eax]
jmp 0x41b155
xor edx, edx
cmp ecx, ebp
je 0x41b15d
mov ecx, dword [ecx]
jmp 0x41b15f
xor ecx, ecx
mov eax, dword [esp + 0x14]
lea ebx, [esp + 0x24]
push ebx
push ebp
mov esi, dword [eax]
push 0x10
push edx
push ecx
push eax
call dword [esi + 0x50]
cmp eax, ebp
je 0x41b1e2
mov esi, dword [esp + 0x78]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.004d4702
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], edi
call fcn.0041b750
lea ecx, [esp + 0x2c]
call fcn.0041b750
mov eax, dword [esp + 0x24]
mov byte [esp + 0x70], 5
cmp eax, ebp
je 0x41b1b0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x18]
call fcn.0041b750
mov eax, dword [esp + 0x14]
mov byte [esp + 0x70], 2
cmp eax, ebp
je 0x41b1cc
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x70], 1
cmp eax, ebp
je 0x41b64a
jmp 0x41b644
lea ecx, [esp + 0x30]
call fcn.0041b750
lea ecx, [esp + 0x2c]
call fcn.0041b750
mov dword [esp + 0x28], ebp
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x2c]
mov edx, dword [eax]
push ecx
push edi
push 0xffffffffffffffff
push eax
mov byte [esp + 0x84], 0xb
call dword [edx + 0x10]
cmp eax, ebp
je 0x41b25e
mov esi, dword [esp + 0x78]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.004d4702
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], edi
cmp eax, ebp
mov byte [esp + 0x70], 6
je 0x41b242
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x24]
mov byte [esp + 0x70], 5
cmp eax, ebp
je 0x41b061
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x41b061
push 0x518908
lea ecx, [esp + 0x40]
call fcn.004d49fb
push 0x509dcc
lea ecx, [esp + 0x3c]
mov byte [esp + 0x74], 0xc
call fcn.004d49fb
mov edi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [esp + 0x48]
push eax
call edi
mov bl, 0xe
push 0xc
mov byte [esp + 0x74], bl
call fcn.004d46ce
add esp, 4
mov dword [esp + 0x40], eax
cmp eax, ebp
mov byte [esp + 0x70], 0xf
je 0x41b2b7
push str.SerialNumber
mov ecx, eax
call fcn.0041b7a0
jmp 0x41b2b9
xor eax, eax
cmp eax, ebp
mov byte [esp + 0x70], bl
mov dword [esp + 0x30], eax
jne 0x41b2d3
push 0x8007000e
call fcn.004ce60a
mov eax, dword [esp + 0x30]
cmp eax, ebp
mov byte [esp + 0x70], 0x10
je 0x41b2e0
mov eax, dword [eax]
jmp 0x41b2e2
xor eax, eax
mov ecx, dword [esp + 0x28]
push ebp
lea esi, [esp + 0x4c]
push ebp
mov edx, dword [ecx]
push esi
push ebp
push eax
push ecx
call dword [edx + 0x10]
cmp eax, ebp
jne 0x41b59e
mov ecx, dword [esp + 0x50]
cmp ecx, ebp
je 0x41b59e
mov eax, dword [esp + 0x48]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp ax, 1
je 0x41b3a0
cmp ax, 8
mov dword [esp + 0x2c], ebp
jne 0x41b333
push ecx
lea ecx, [esp + 0x30]
call fcn.0041b670
jmp 0x41b373
lea eax, [esp + 0x58]
push eax
call edi
lea ecx, [esp + 0x48]
mov byte [esp + 0x70], 0x11
push ecx
push 8
lea ecx, [esp + 0x60]
call fcn.0041b8a0
mov edx, dword [esp + 0x60]
lea ecx, [esp + 0x2c]
push edx
call fcn.0041b670
lea eax, [esp + 0x58]
mov byte [esp + 0x70], 0x10
push eax
call esi
cmp eax, ebp
jge 0x41b373
push eax
call fcn.004ce60a
mov ecx, dword [esp + 0x2c]
mov byte [esp + 0x70], 0x12
cmp ecx, ebp
je 0x41b387
call fcn.0041b870
jmp 0x41b389
xor eax, eax
push eax
lea ecx, [esp + 0x14]
call fcn.004d4b16
mov ecx, dword [esp + 0x2c]
cmp ecx, ebp
je 0x41b3a0
call fcn.0041b7e0
mov ecx, dword [esp + 0x30]
cmp ecx, ebp
je 0x41b3b1
call fcn.0041b7e0
mov dword [esp + 0x30], ebp
lea ecx, [esp + 0x48]
mov bl, 0xd
push ecx
mov byte [esp + 0x74], bl
call esi
cmp eax, ebp
jge 0x41b3c8
push eax
call fcn.004ce60a
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebp
je 0x41b4f6
push str.00000000000000000001
push eax
call fcn.004aebf6
add esp, 8
test eax, eax
je 0x41b4f6
push 0x518908
lea ecx, [esp + 0x38]
call fcn.004d49fb
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x34]
push edx
push str._Serial:_s_
push eax
mov byte [esp + 0x7c], 0x13
call fcn.004d3a22
mov edi, dword [esp + 0x84]
add esp, 0xc
lea ecx, [esp + 0x34]
push ecx
mov ecx, edi
call fcn.004d4702
lea ecx, [esp + 0x34]
mov dword [esp + 0x20], 1
mov byte [esp + 0x70], bl
call fcn.004d498d
lea ecx, [esp + 0x38]
mov byte [esp + 0x70], 0xc
call fcn.004d498d
lea ecx, [esp + 0x3c]
mov byte [esp + 0x70], 0xb
call fcn.004d498d
mov eax, dword [esp + 0x28]
mov byte [esp + 0x70], 6
cmp eax, ebp
je 0x41b46c
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x24]
mov byte [esp + 0x70], 5
cmp eax, ebp
je 0x41b47f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x70], 3
cmp eax, ebp
je 0x41b4ad
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x41b4a9
cmp esi, ebp
je 0x41b4a9
push 1
mov ecx, esi
call fcn.0041b830
mov dword [esp + 0x18], ebp
mov eax, dword [esp + 0x14]
mov byte [esp + 0x70], 2
cmp eax, ebp
je 0x41b4c0
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x70], 1
cmp eax, ebp
je 0x41b4d3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x10]
mov byte [esp + 0x70], 0
call fcn.004d498d
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
add esp, 0x64
ret
push 0x518908
lea ecx, [esp + 0x14]
call fcn.004d4b16
mov esi, dword [esp + 0x78]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.004d4702
lea ecx, [esp + 0x38]
mov dword [esp + 0x20], 1
mov byte [esp + 0x70], 0xc
call fcn.004d498d
lea ecx, [esp + 0x3c]
mov byte [esp + 0x70], 0xb
call fcn.004d498d
mov eax, dword [esp + 0x28]
mov byte [esp + 0x70], 6
cmp eax, ebp
je 0x41b54b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x24]
mov byte [esp + 0x70], 5
cmp eax, ebp
je 0x41b55e
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x18]
cmp ecx, ebp
je 0x41b56f
call fcn.0041b7e0
mov dword [esp + 0x18], ebp
mov eax, dword [esp + 0x14]
mov byte [esp + 0x70], 2
cmp eax, ebp
je 0x41b582
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x70], 1
cmp eax, ebp
je 0x41b64a
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x41b64a
mov esi, dword [esp + 0x78]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.004d4702
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], 1
call fcn.0041b750
lea ecx, [esp + 0x48]
mov byte [esp + 0x70], 0xd
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, ebp
jge 0x41b5d9
push eax
call fcn.004ce60a
lea ecx, [esp + 0x38]
mov byte [esp + 0x70], 0xc
call fcn.004d498d
lea ecx, [esp + 0x3c]
mov byte [esp + 0x70], 0xb
call fcn.004d498d
mov eax, dword [esp + 0x28]
mov byte [esp + 0x70], 6
cmp eax, ebp
je 0x41b608
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x24]
mov byte [esp + 0x70], 5
cmp eax, ebp
je 0x41b61b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x18]
call fcn.0041b750
mov eax, dword [esp + 0x14]
mov byte [esp + 0x70], 2
cmp eax, ebp
je 0x41b637
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x70], 1
cmp eax, ebp
je 0x41b64a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x10]
mov byte [esp + 0x70], 0
call fcn.004d498d
mov ecx, dword [esp + 0x68]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret