Function at 0x4e8ae0
Capabilities:
Link many functions at runtime
Reference sql statements
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x540778
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x582184]
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 dword [ebp - 0x48], edx
mov eax, ecx
mov dword [ebp - 0x44], eax
xor esi, esi
test eax, eax
js 0x4e8eea
cmp eax, 8
jae 0x4e8eea
push 9
xor eax, eax
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
lea ecx, [ebp - 0x3c]
push str.Ole32.dll
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
call fcn.00404420
mov dword [ebp - 4], esi
lea eax, [ebp - 0x3c]
push eax
call fcn.00423e80
mov ecx, eax
call fcn.00423f40
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x28]
cmp edx, 8
jb 0x4e8ba1
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4e8b97
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e8f09
push edx
push ecx
call fcn.005004d1
add esp, 8
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
test edi, edi
jne 0x4e8bc3
mov eax, 0xfffffffe
jmp 0x4e8eed
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x55b668
push edi
call ebx
push str.CoInitializeSecurity
push edi
mov dword [ebp - 0x20], eax
call ebx
push str.CoSetProxyBlanket
push edi
mov dword [ebp - 0x40], eax
call ebx
cmp dword [ebp - 0x20], 0
mov dword [ebp - 0x14], eax
je 0x4e8bb9
mov edi, dword [ebp - 0x40]
test edi, edi
je 0x4e8bb9
test eax, eax
je 0x4e8bb9
lea ecx, [ebp - 0x50]
call fcn.0040d640
mov dword [ebp - 4], 1
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call edi
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
push 0x5538c0
push 1
push 0
push 0x553990
call dword [ebp - 0x20]
test eax, eax
js 0x4e8c9a
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4e8c9a
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
mov eax, dword [ecx]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push str.ROOTCIMV2
push ecx
call dword [eax + 0xc]
test eax, eax
js 0x4e8c91
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4e8c91
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push eax
call dword [ebp - 0x14]
test eax, eax
mov eax, dword [ebp - 0x18]
jns 0x4e8cb5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov esi, 0xfffffffe
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.0040d770
mov eax, esi
jmp 0x4e8eed
lea edx, [ebp - 0x24]
mov dword [ebp - 0x24], 0
mov ecx, dword [eax]
push edx
mov edx, dword [ebp - 0x44]
push 0
push 0x30
push dword [edx*8 + 0x582a80]
push 0x55fa40
push eax
call dword [ecx + 0x50]
test eax, eax
jns 0x4e8cf6
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov esi, 0xfffffffd
jmp 0x4e8c9f
push str.OleAut32.dll
lea ecx, [ebp - 0x3c]
call fcn.00404380
mov byte [ebp - 4], 2
lea eax, [ebp - 0x3c]
push eax
call fcn.00423e80
mov ecx, eax
call fcn.00423f40
mov edi, eax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x28]
cmp edx, 8
jb 0x4e8d57
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4e8d4d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e8f0e
push edx
push ecx
call fcn.005004d1
add esp, 8
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
test edi, edi
jne 0x4e8d89
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea esi, [edi - 4]
jmp 0x4e8c9f
push str.VariantInit
push edi
call ebx
push str.VariantClear
push edi
mov dword [ebp - 0x40], eax
call ebx
cmp dword [ebp - 0x40], 0
mov dword [ebp - 0x4c], eax
je 0x4e8ece
test eax, eax
je 0x4e8ece
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x4e8eb7
mov ebx, dword [ebp - 0x48]
mov edi, ebx
nop dword [eax]
nop word [eax + eax]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x14], 0
test ebx, ebx
je 0x4e8deb
cmp esi, 0xc
jge 0x4e8ead
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0x20]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x14], 0
je 0x4e8eaa
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x4e8eaa
test ebx, ebx
je 0x4e8e90
lea eax, [ebp - 0x34]
push eax
call dword [ebp - 0x40]
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x34]
push 0
push 0
push edx
mov edx, dword [ebp - 0x44]
mov ecx, dword [eax]
push 0
push dword [edx*8 + 0x582a84]
push eax
call dword [ecx + 0x10]
mov ebx, dword [ebp - 0x2c]
mov edx, 0x80
mov ecx, edi
sub ebx, edi
lea eax, [edx + 0x7fffff7e]
test eax, eax
je 0x4e8e64
movzx eax, word [ebx + ecx]
test ax, ax
je 0x4e8e64
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x4e8e46
lea eax, [ecx - 2]
test edx, edx
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x34]
push eax
call dword [ebp - 0x4c]
push ecx
mov ecx, dword [ebp - 0x44]
mov edx, edi
call fcn.004e88e0
mov ecx, dword [ebp - 0x20]
add esp, 4
mov ebx, dword [ebp - 0x48]
test eax, eax
je 0x4e8e97
inc esi
add edi, 0x100
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x24]
test ecx, ecx
jne 0x4e8dd0
jmp 0x4e8eb7
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x4e8eb7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x4e8c9f
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov esi, 0xfffffffb
jmp 0x4e8c9f
or eax, 0xffffffff
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.005001f6
mov esp, ebp
pop ebp
ret
call fcn.00504609
call fcn.00504609
int3