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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45ac60
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x47802c]
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 esi, ecx
push 0
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x41326f
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 0x464e1c
push 1
push 0
push 0x464e0c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x413269
push esi
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x14], 0
call fcn.00412fd0
mov byte [ebp - 4], 1
mov eax, dword [eax]
test eax, eax
je 0x4131c3
mov edx, dword [eax]
jmp 0x4131c5
xor edx, edx
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x14]
push esi
push 0
push 0
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push edx
push eax
call dword [ecx + 0xc]
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov esi, dword [ebp - 0x20]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0x24], eax
test esi, esi
je 0x413238
mov ecx, edi
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x413238
test esi, esi
je 0x413238
mov eax, dword [esi]
test eax, eax
je 0x413213
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x41322a
push eax
call fcn.0043a324
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.0043a86a
mov eax, dword [ebp - 0x24]
add esp, 8
test eax, eax
js 0x413260
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x14]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x4132a8
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor esi, esi
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x4133bf
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4133b5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4133dd
jmp 0x4133b5
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x1c], 0
cmovae eax, dword [ebp + 8]
push eax
call fcn.00412f30
mov esi, eax
push 0x46e78c
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.00412f30
mov byte [ebp - 4], 3
mov esi, dword [esi]
test esi, esi
je 0x4132e4
mov esi, dword [esi]
jmp 0x4132e6
xor esi, esi
mov eax, dword [eax]
test eax, eax
je 0x4132f0
mov edx, dword [eax]
jmp 0x4132f2
xor edx, edx
mov eax, dword [ebp - 0x14]
lea ebx, [ebp - 0x1c]
push ebx
push 0
push 0x30
mov ecx, dword [eax]
push esi
push edx
push eax
call dword [ecx + 0x50]
mov esi, dword [ebp - 0x20]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0x28], eax
test esi, esi
je 0x41335b
mov ecx, edi
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x413354
test esi, esi
je 0x413354
mov eax, dword [esi]
test eax, eax
je 0x413332
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x413349
push eax
call fcn.0043a324
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.0043a86a
add esp, 8
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 0
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x4133a3
lock xadd dword [esi + 8], edi
dec edi
jne 0x4133a3
test esi, esi
je 0x4133a3
mov eax, dword [esi]
test eax, eax
je 0x413381
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x413398
push eax
call fcn.0043a324
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.0043a86a
add esp, 8
cmp dword [ebp - 0x28], 0
jl 0x413257
mov esi, dword [ebp - 0x1c]
jmp 0x413271
push edx
push ecx
call fcn.0043a86a
add esp, 8
mov eax, esi
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.0043a313
mov esp, ebp
pop ebp
ret
call fcn.0044532a
int3