Function at 0x4054d0
Capabilities:
Connect to wmi namespace via wbemlocator
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b8a16
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x6d2e20]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
push edi
mov eax, dword [0x6d2e20]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, ecx
lea ecx, [ebx + 0x10]
mov edi, edx
push ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x2c], eax
call fcn.0041f4b0
lea esi, [ebx + 0x178]
mov ecx, esi
mov dword [esp + 0x34], esi
call fcn.00429a10
push 0xe
push str.Serverlist.ini
mov eax, esi
call fcn.0040e0c0
cmp dword [esi + 0x18], 8
jb 0x405556
mov eax, dword [esi + 4]
jmp 0x405559
lea eax, [esi + 4]
push 0
push eax
call fcn.005aa4d1
add esp, 8
test eax, eax
je 0x40556f
xor eax, eax
jmp 0x405c13
push 0xffffffffffffffff
push 0x6a6fb4
push 0xffffffffffffffff
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
push eax
call dword [sym.imp.KERNEL32.dll_CompareStringW]
lea edi, [ebx + 4]
mov dword [esp + 0x1c], edi
cmp eax, 2
jne 0x405859
push 1
call fcn.00418ac0
cmp dword [esi + 0x18], 8
jb 0x4055aa
mov ecx, dword [esi + 4]
jmp 0x4055ad
lea ecx, [esi + 4]
lea edi, [ebx + 0x3d8]
push 0x6a6fb8
lea esi, [ebx + 0x3f0]
mov edx, edi
call fcn.00407d40
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 0x40579e
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x8c]
call fcn.0040c140
mov dword [esp + 0xb8], 0
mov esi, dword [edi + 0xc]
cmp esi, dword [edi + 0x10]
jbe 0x40560c
call fcn.0058abb2
mov ecx, dword [edi]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], esi
mov esi, dword [edi + 0x10]
cmp dword [edi + 0xc], esi
jbe 0x405627
call fcn.0058abb2
mov ecx, dword [esp + 0x14]
mov eax, dword [edi]
test ecx, ecx
je 0x405631
cmp ecx, eax
je 0x40563a
call fcn.0058abb2
mov ecx, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
je 0x405784
test ecx, ecx
jne 0x4056be
call fcn.0058abb2
xor eax, eax
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x10]
jb 0x40565d
call fcn.0058abb2
mov edx, dword [esp + 0x18]
xor ebx, ebx
push 0xffffffffffffffff
push ebx
push edx
lea ecx, [esp + 0x44]
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
call fcn.00411090
mov byte [esp + 0xb8], 1
cmp dword [esp + 0x50], 0x10
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x3c]
jae 0x40569b
lea ebx, [esp + 0x3c]
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x30]
call fcn.0042a510
mov ebx, dword [eax + 0x14]
mov esi, 8
add esp, 4
cmp dword [eax + 0x18], esi
jb 0x4056c2
mov eax, dword [eax + 4]
jmp 0x4056c5
mov eax, dword [ecx]
jmp 0x40564f
add eax, 4
push eax
lea eax, [esp + 0x90]
call fcn.0040d180
mov ebx, eax
cmp dword [esp + 0x6c], esi
jb 0x4056e7
mov ecx, dword [esp + 0x58]
push ecx
call fcn.0044fdf0
add esp, 4
cmp ebx, 0xffffffff
je 0x40573b
mov byte [esp + 0xb8], 0
cmp dword [esp + 0x50], 0x10
jb 0x405708
mov edx, dword [esp + 0x3c]
push edx
call fcn.0044fdf0
add esp, 4
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x405737
call fcn.0058abb2
xor eax, eax
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x10]
jb 0x405725
call fcn.0058abb2
add dword [esp + 0x18], 0x1c
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
jmp 0x405616
mov eax, dword [eax]
jmp 0x405717
cmp dword [esp + 0x50], 0x10
jb 0x40574f
mov edx, dword [esp + 0x3c]
push edx
call fcn.0044fdf0
add esp, 4
xor eax, eax
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], eax
mov byte [esp + 0x3c], al
cmp dword [esp + 0xa4], esi
jb 0x40577a
mov eax, dword [esp + 0x90]
push eax
call fcn.0044fdf0
add esp, 4
mov eax, 0xa
jmp 0x405c13
cmp dword [esp + 0xa4], 8
jb 0x40579e
mov ecx, dword [esp + 0x90]
push ecx
call fcn.0044fdf0
add esp, 4
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], 0
mov byte [esp + 0x74], 0
mov edx, dword [esp + 0x28]
push edx
push ebx
lea ecx, [esp + 0x78]
mov dword [esp + 0xc0], 2
call fcn.00403130
mov ecx, dword [esp + 0x34]
cmp dword [ecx + 0x18], 8
jb 0x4057e2
mov ecx, dword [ecx + 4]
jmp 0x4057e5
add ecx, 4
push ebx
mov edx, 0x6a6fb8
call fcn.00404d80
sub esp, 0x18
mov eax, esp
mov dword [esp + 0x2c], esp
lea ecx, [ebx + 0x3c0]
push eax
call fcn.0040c2e0
mov eax, dword [esp + 0x8c]
mov esi, 0x10
cmp dword [esp + 0xa0], esi
jae 0x405821
lea eax, [esp + 0x8c]
push 6
push 6
push eax
mov ecx, ebx
call fcn.00404a40
mov dword [esp + 0xb8], 0xffffffff
mov edi, eax
cmp dword [esp + 0x88], esi
jb 0x405bd7
mov ecx, dword [esp + 0x74]
push ecx
call fcn.0044fdf0
add esp, 4
jmp 0x405bd7
cmp byte [0x6dc68c], 0
jne 0x405902
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [edi + 8], eax
test eax, eax
jl 0x405902
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 0x40589c
cmp eax, 0x80010119
jne 0x4058fb
add edi, 4
push edi
push 0x6a6b8c
push 1
push 0
push 0x6a6c5c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x405902
mov ecx, dword [esp + 0x1c]
mov eax, dword [edi]
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push str.rootCIMV2
push eax
call edx
test eax, eax
jl 0x405902
mov eax, dword [esp + 0x1c]
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 0x405902
mov byte [0x6dc68c], 1
cmp dword [esi + 0x18], 8
jb 0x40590d
mov ecx, dword [esi + 4]
jmp 0x405910
lea ecx, [esi + 4]
lea edi, [ebx + 0x3d8]
push str.SubmitEventInst
lea esi, [ebx + 0x3f0]
mov edx, edi
call fcn.00407d40
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 0x405b07
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x8c]
call fcn.0040c140
mov dword [esp + 0xb8], 3
mov esi, dword [edi + 0xc]
cmp esi, dword [edi + 0x10]
jbe 0x40596f
call fcn.0058abb2
mov ecx, dword [edi]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], esi
mov esi, dword [edi + 0x10]
cmp dword [edi + 0xc], esi
jbe 0x40598a
call fcn.0058abb2
mov ecx, dword [esp + 0x20]
mov eax, dword [edi]
test ecx, ecx
je 0x405994
cmp ecx, eax
je 0x40599d
call fcn.0058abb2
mov ecx, dword [esp + 0x20]
cmp dword [esp + 0x24], esi
je 0x405ae2
test ecx, ecx
jne 0x405a1d
call fcn.0058abb2
xor eax, eax
mov ecx, dword [esp + 0x24]
cmp ecx, dword [eax + 0x10]
jb 0x4059c0
call fcn.0058abb2
mov esi, dword [esp + 0x24]
xor ebx, ebx
push 0xffffffffffffffff
push ebx
push esi
lea ecx, [esp + 0x44]
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
call fcn.00411090
mov byte [esp + 0xb8], 4
cmp dword [esp + 0x50], 0x10
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x3c]
jae 0x4059fe
lea ebx, [esp + 0x3c]
lea edx, [esp + 0x70]
push edx
lea ecx, [esp + 0x30]
call fcn.0042a510
mov ebx, dword [eax + 0x14]
add esp, 4
cmp dword [eax + 0x18], 8
jb 0x405a21
mov eax, dword [eax + 4]
jmp 0x405a24
mov eax, dword [ecx]
jmp 0x4059b2
add eax, 4
push eax
lea eax, [esp + 0x90]
call fcn.0040d180
cmp dword [esp + 0x88], 8
mov ebx, eax
jb 0x405a4a
mov eax, dword [esp + 0x74]
push eax
call fcn.0044fdf0
add esp, 4
cmp ebx, 0xffffffff
je 0x405a98
mov byte [esp + 0xb8], 3
cmp dword [esp + 0x50], 0x10
jb 0x405a6b
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0044fdf0
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x405a94
call fcn.0058abb2
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x405a84
call fcn.0058abb2
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
add esi, 0x1c
jmp 0x405975
mov eax, dword [eax]
jmp 0x405a7a
cmp dword [esp + 0x50], 0x10
jb 0x405aac
mov edx, dword [esp + 0x3c]
push edx
call fcn.0044fdf0
add esp, 4
xor eax, eax
cmp dword [esp + 0xa4], 8
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], eax
mov byte [esp + 0x3c], al
jb 0x405ad8
mov eax, dword [esp + 0x90]
push eax
call fcn.0044fdf0
add esp, 4
mov eax, 0xb
jmp 0x405c13
mov dword [esp + 0xb8], 0xffffffff
cmp dword [esp + 0xa4], 8
jb 0x405b07
mov ecx, dword [esp + 0x90]
push ecx
call fcn.0044fdf0
add esp, 4
push 0
push 0x6a6f4e
lea ecx, [esp + 0x5c]
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], 0
mov byte [esp + 0x60], 0
call fcn.00411450
mov edx, dword [ebp + 0xc]
mov ecx, dword [esp + 0x28]
push edx
mov dword [esp + 0xbc], 5
mov eax, dword [esp + 0x18]
push eax
push ebx
lea edx, [esp + 0x60]
call fcn.00402700
mov ecx, dword [esp + 0x34]
cmp dword [ecx + 0x18], 8
jb 0x405b5d
mov ecx, dword [ecx + 4]
jmp 0x405b60
add ecx, 4
push ebx
mov edx, str.SubmitEventInst
call fcn.00404d80
sub esp, 0x18
mov edx, esp
mov dword [esp + 0x2c], esp
lea ecx, [ebx + 0x3c0]
push edx
call fcn.0040c2e0
mov eax, dword [esp + 0x70]
mov esi, 0x10
cmp dword [esp + 0x84], esi
jae 0x405b96
lea eax, [esp + 0x70]
push 6
push 6
push eax
mov ecx, ebx
call fcn.00404a40
mov dword [esp + 0xb8], 0xffffffff
mov edi, eax
cmp dword [esp + 0x6c], esi
jb 0x405bc2
mov eax, dword [esp + 0x58]
push eax
call fcn.0044fdf0
add esp, 4
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], 0
mov byte [esp + 0x58], 0
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
test eax, eax
je 0x405bef
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 0x405c05
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esi + 4], 0
cmp dword [esi + 8], 0
jne 0x405c11
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, edi
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.0058848d
mov esp, ebp
pop ebp
ret 8