Function at 0x420790
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 edi, [ebx + 4]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edi
jne 0x420889
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [edi + 8], eax
test eax, eax
jl 0x420889
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 0x42082b
cmp eax, 0x80010119
jne 0x420882
lea esi, [edi + 4]
push esi
push 0x57cea4
push 1
push 0
push 0x57cf74
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x420889
mov eax, dword [esi]
mov edx, dword [eax]
push edi
push 0
push 0
push 0
push 0
push 0
push 0
push 0x5834d4
push eax
mov eax, dword [edx + 0xc]
call eax
test eax, eax
jl 0x420889
mov ecx, dword [edi]
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 0x420889
mov byte [0x5ab500], 1
lea edx, [ebx + 0x10]
push edx
call fcn.00435360
lea edi, [ebx + 0x178]
mov esi, edi
call fcn.0043edf0
push 0xe
push str.Serverlist.ini
mov ecx, edi
call fcn.00408700
mov esi, 8
cmp dword [edi + 0x18], esi
jb 0x4208bc
mov eax, dword [edi + 4]
jmp 0x4208bf
lea eax, [edi + 4]
push 0
push eax
call fcn.004865da
add esp, 8
test eax, eax
je 0x4208d5
xor eax, eax
jmp 0x420bf5
cmp dword [edi + 0x18], esi
jb 0x4208df
mov ecx, dword [edi + 4]
jmp 0x4208e2
lea ecx, [edi + 4]
push str.SubmitEventUpdt
lea eax, [ebx + 0x3f0]
lea edi, [ebx + 0x3d8]
push eax
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 ecx, edx
shr ecx, 0x1f
add ecx, edx
je 0x420af5
mov edx, dword [esp + 0x24]
push edx
lea ecx, [esp + 0x88]
call fcn.00405c40
mov dword [esp + 0xb0], 0
mov eax, dword [edi + 0xc]
mov dword [esp + 0x14], eax
cmp eax, dword [edi + 0x10]
jbe 0x420947
call fcn.00481387
mov esi, dword [edi]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x10]
mov dword [esp + 0x14], eax
cmp dword [edi + 0xc], eax
jbe 0x420966
call fcn.00481387
mov eax, dword [edi]
test esi, esi
je 0x420970
cmp esi, eax
je 0x420975
call fcn.00481387
mov ecx, dword [esp + 0x14]
cmp dword [esp + 0x1c], ecx
je 0x420ad0
test esi, esi
jne 0x4209ff
call fcn.00481387
mov edx, dword [esp + 0x1c]
cmp edx, dword [esi + 0x10]
jb 0x42099a
call fcn.00481387
mov eax, dword [esp + 0x1c]
push 0xffffffffffffffff
push 0
push eax
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 + 0x14], 0
jae 0x4209e0
lea ebx, [esp + 0x50]
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x18]
call fcn.0043f900
mov ecx, dword [eax + 0x14]
add esp, 4
cmp dword [eax + 0x18], 8
jb 0x420a03
mov eax, dword [eax + 4]
jmp 0x420a06
mov esi, dword [esi]
jmp 0x42098c
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 0x420a30
mov edx, dword [esp + 0x34]
push edx
call fcn.0044687d
add esp, 4
cmp esi, 0xffffffff
je 0x420a84
mov byte [esp + 0xb0], 0
cmp dword [esp + 0x64], 0x10
jb 0x420a51
mov eax, dword [esp + 0x50]
push eax
call fcn.0044687d
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x420a80
call fcn.00481387
xor eax, eax
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [eax + 0x10]
jb 0x420a6e
call fcn.00481387
add dword [esp + 0x1c], 0x1c
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x18]
jmp 0x420955
mov eax, dword [eax]
jmp 0x420a60
cmp dword [esp + 0x64], 0x10
jb 0x420a98
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 0x420ac6
mov eax, dword [esp + 0x88]
push eax
call fcn.0044687d
add esp, 4
mov eax, 0xb
jmp 0x420bf5
mov dword [esp + 0xb0], 0xffffffff
cmp dword [esp + 0x9c], 8
jb 0x420af5
mov ecx, dword [esp + 0x88]
push ecx
call fcn.0044687d
add esp, 4
push 0
push 0x57d3dd
lea ecx, [esp + 0x70]
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], 0
mov byte [esp + 0x74], 0
call fcn.00408260
mov edx, dword [ebp + 0xc]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push edx
push eax
push ebx
lea edx, [esp + 0x74]
mov dword [esp + 0xbc], 2
call fcn.0041e8c0
cmp dword [ebx + 0x190], 8
jb 0x420b53
mov ecx, dword [ebx + 0x17c]
jmp 0x420b59
lea ecx, [ebx + 0x17c]
push ebx
mov edx, str.SubmitEventUpdt
call fcn.00420500
sub esp, 0x18
mov edx, esp
mov dword [esp + 0x38], esp
lea ecx, [ebx + 0x3c0]
push edx
call fcn.00427900
mov eax, dword [esp + 0x84]
mov edi, 0x10
cmp dword [esp + 0x98], edi
jae 0x420b95
lea eax, [esp + 0x84]
push 3
push 3
push eax
mov ecx, ebx
call fcn.004201d0
mov esi, dword [esp + 0x28]
mov ebx, eax
mov eax, dword [esi]
test eax, eax
je 0x420bbb
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x420bd1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esi + 4], 0
cmp dword [esi + 8], 0
jne 0x420bdd
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [esp + 0x80], edi
jb 0x420bf3
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