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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b8b70
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x63ee20]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x63ee20]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, ecx
push 1
lea eax, [edi + 0x11c]
push eax
lea ecx, [esp + 0x20]
call fcn.005a9490
mov dword [esp + 0x50], 0
cmp dword [0x648438], 0
je 0x407d0e
mov ecx, dword [edi + 0xe4]
sub ecx, dword [edi + 0xe0]
lea eax, [edi + 0xd4]
mov dword [esp + 0x20], eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
je 0x407d0e
mov ecx, dword [edi + 0xfc]
sub ecx, dword [edi + 0xf8]
lea ebx, [edi + 0xec]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x10], ebx
je 0x407d0e
mov ecx, dword [edi + 0x114]
sub ecx, dword [edi + 0x110]
lea eax, [edi + 0x104]
mov dword [esp + 0x14], eax
test ecx, 0xfffffffc
je 0x407d0e
cmp byte [0x64843c], 0
lea esi, [edi + 4]
jne 0x407c2e
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [esi + 8], eax
test eax, eax
jl 0x407c2e
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]
test eax, eax
jge 0x407bc6
cmp eax, 0x80010119
jne 0x407c21
lea ebx, [esi + 4]
push ebx
push 0x6129a4
push 1
push 0
push 0x612a74
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x407c2a
mov eax, dword [ebx]
mov edx, dword [eax]
push esi
push 0
push 0
push 0
push 0
push 0
push 0
push str.rootCIMV2
push eax
mov eax, dword [edx + 0xc]
call eax
test eax, eax
jl 0x407c2a
mov ecx, dword [esi]
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push ecx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jl 0x407c2a
mov ebx, dword [esp + 0x10]
mov byte [0x64843c], 1
jmp 0x407c2e
mov ebx, dword [esp + 0x10]
push 0x612d66
lea ecx, [esp + 0x28]
call fcn.00410ea0
lea edx, [esp + 0x24]
push edx
push edi
mov byte [esp + 0x58], 1
call fcn.00406f60
test eax, eax
jne 0x407c74
lea ecx, [esp + 0x24]
call fcn.00411770
lea ecx, [esp + 0x18]
mov dword [esp + 0x50], 0xffffffff
call fcn.005a94d0
mov eax, 0x15
jmp 0x407d21
cmp dword [edi + 0x190], 8
jb 0x407c85
mov ecx, dword [edi + 0x17c]
jmp 0x407c8b
lea ecx, [edi + 0x17c]
push edi
mov edx, str.SubmitEventDownloadSeveral
call fcn.00404d80
sub esp, 0x18
mov eax, esp
mov dword [esp + 0x28], esp
lea ecx, [edi + 0x3c0]
push eax
call fcn.0040c310
cmp dword [esp + 0x54], 0x10
mov eax, dword [esp + 0x40]
jae 0x407cba
lea eax, [esp + 0x40]
push 6
push 6
push eax
mov ecx, edi
call fcn.00404a40
mov edi, eax
call fcn.00418bc0
mov eax, dword [esp + 0x20]
mov dword [0x648438], 0
call fcn.0040ca10
mov eax, dword [esp + 0x14]
call fcn.0040cb50
mov eax, ebx
call fcn.0040ca10
lea ecx, [esp + 0x24]
call fcn.00411770
lea ecx, [esp + 0x18]
mov dword [esp + 0x50], 0xffffffff
call fcn.005a94d0
mov eax, edi
jmp 0x407d21
lea ecx, [esp + 0x18]
mov dword [esp + 0x50], 0xffffffff
call fcn.005a94d0
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0058844d
mov esp, ebp
pop ebp
ret