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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x542958
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x594aa4]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
push edi
mov eax, dword [0x594aa4]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
cmp byte [0x5ab500], 0
mov eax, dword [ebp + 8]
mov ebx, edx
lea esi, [ebx + 4]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14], esi
jne 0x4214db
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [esi + 8], eax
test eax, eax
jl 0x4214db
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 0x42146b
cmp eax, 0x80010119
jne 0x4214ce
add esi, 4
push esi
push 0x57cea4
push 1
push 0
push 0x57cf74
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4214d7
mov ecx, dword [esp + 0x14]
mov eax, dword [esi]
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0x5834d4
push eax
call edx
test eax, eax
jl 0x4214d7
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
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 0x4214d7
mov esi, dword [esp + 0x14]
mov byte [0x5ab500], 1
jmp 0x4214db
mov esi, dword [esp + 0x14]
lea edx, [ebx + 0x10]
push edx
call fcn.00435360
mov eax, dword [ebx + 0x18c]
push 0
lea edi, [ebx + 0x178]
push 0x57d8e4
push eax
push 0
mov ecx, edi
call fcn.0041be40
test eax, eax
jne 0x42151e
mov esi, edi
call fcn.0043edf0
push 0xe
push str.Serverlist.ini
mov ecx, edi
call fcn.00408700
mov esi, dword [esp + 0x14]
cmp dword [edi + 0x18], 8
jb 0x421529
mov eax, dword [edi + 4]
jmp 0x42152c
lea eax, [edi + 4]
push 0
push eax
call fcn.004865da
add esp, 8
test eax, eax
je 0x421542
xor eax, eax
jmp 0x421864
push 0xffffffffffffffff
push 0
push edi
lea ecx, [ebx + 0x98]
call fcn.00406e30
cmp dword [edi + 0x18], 8
jb 0x42155d
mov ecx, dword [edi + 4]
jmp 0x421560
lea ecx, [edi + 4]
push str.SubmitEventDownload
lea edx, [ebx + 0x3f0]
lea edi, [ebx + 0x3d8]
push edx
mov edx, edi
call fcn.004234c0
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x421777
mov ecx, dword [esp + 0x28]
push ecx
lea ecx, [esp + 0x88]
call fcn.00405c40
mov dword [esp + 0xb0], 0
mov eax, dword [edi + 0xc]
mov dword [esp + 0x18], eax
cmp eax, dword [edi + 0x10]
jbe 0x4215c5
call fcn.00481387
mov esi, dword [edi]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], edx
mov eax, dword [edi + 0x10]
mov dword [esp + 0x18], eax
cmp dword [edi + 0xc], eax
jbe 0x4215e4
call fcn.00481387
mov eax, dword [edi]
test esi, esi
je 0x4215ee
cmp esi, eax
je 0x4215f3
call fcn.00481387
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x20], eax
je 0x42174e
test esi, esi
jne 0x42167d
call fcn.00481387
mov ecx, dword [esp + 0x20]
cmp ecx, dword [esi + 0x10]
jb 0x421618
call fcn.00481387
mov edx, dword [esp + 0x20]
push 0xffffffffffffffff
push 0
push edx
lea ecx, [esp + 0x58]
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], 0
mov byte [esp + 0x5c], 0
call fcn.00406c30
mov byte [esp + 0xb0], 1
cmp dword [esp + 0x64], 0x10
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x18], 0
jae 0x42165e
lea ebx, [esp + 0x50]
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x1c]
call fcn.0043f900
mov ecx, dword [eax + 0x14]
add esp, 4
cmp dword [eax + 0x18], 8
jb 0x421681
mov eax, dword [eax + 4]
jmp 0x421684
mov esi, dword [esi]
jmp 0x42160a
add eax, 4
push ecx
push 0
push eax
lea ecx, [esp + 0x90]
call fcn.004281d0
mov ebx, 8
mov esi, eax
cmp dword [esp + 0x48], ebx
jb 0x4216ae
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0044687d
add esp, 4
cmp esi, 0xffffffff
je 0x421702
mov byte [esp + 0xb0], 0
cmp dword [esp + 0x64], 0x10
jb 0x4216cf
mov edx, dword [esp + 0x50]
push edx
call fcn.0044687d
add esp, 4
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x4216fe
call fcn.00481387
xor eax, eax
mov ecx, dword [esp + 0x20]
cmp ecx, dword [eax + 0x10]
jb 0x4216ec
call fcn.00481387
add dword [esp + 0x20], 0x1c
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x2c]
jmp 0x4215d3
mov eax, dword [eax]
jmp 0x4216de
cmp dword [esp + 0x64], 0x10
jb 0x421716
mov edx, dword [esp + 0x50]
push edx
call fcn.0044687d
add esp, 4
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], 0
mov byte [esp + 0x50], 0
cmp dword [esp + 0x9c], ebx
jb 0x421744
mov eax, dword [esp + 0x88]
push eax
call fcn.0044687d
add esp, 4
mov eax, 0xb
jmp 0x421864
mov dword [esp + 0xb0], 0xffffffff
cmp dword [esp + 0x9c], 8
jb 0x421773
mov ecx, dword [esp + 0x88]
push ecx
call fcn.0044687d
add esp, 4
mov esi, dword [esp + 0x14]
xor edi, edi
push edi
push 0x57d3dd
lea ecx, [esp + 0x70]
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], edi
mov byte [esp + 0x74], 0
call fcn.00408260
mov edx, dword [ebp + 0xc]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
push edx
push eax
push ebx
lea edx, [esp + 0x74]
mov dword [esp + 0xbc], 2
call fcn.0041e8c0
cmp dword [ebx + 0x190], 8
jb 0x4217d2
mov ecx, dword [ebx + 0x17c]
jmp 0x4217d8
lea ecx, [ebx + 0x17c]
push ebx
mov edx, str.SubmitEventDownload
call fcn.00420500
sub esp, 0x18
mov edx, esp
mov dword [esp + 0x3c], esp
lea ecx, [ebx + 0x3c0]
push edx
call fcn.00427900
cmp dword [esp + 0x98], 0x10
mov eax, dword [esp + 0x84]
jae 0x421810
lea eax, [esp + 0x84]
push 3
push 3
push eax
mov ecx, ebx
call fcn.004201d0
mov ebx, eax
mov eax, dword [esi]
cmp eax, edi
je 0x42182e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esi], edi
mov eax, dword [esi + 4]
cmp eax, edi
je 0x421840
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esi + 4], edi
cmp dword [esi + 8], edi
jne 0x42184b
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [esp + 0x80], 0x10
jb 0x421862
mov eax, dword [esp + 0x6c]
push eax
call fcn.0044687d
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.0047ff9f
mov esp, ebp
pop ebp
ret 8