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

Disassembly:
push 0xffffffffffffffff
push 0x473aa8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x48c74c]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48c74c]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ecx
xor esi, esi
test ecx, ecx
js 0x4473de
cmp ecx, 8
jae 0x4473de
push str.Ole32.dll
lea ecx, [esp + 0x38]
call fcn.00402c40
mov dword [esp + 0x64], esi
lea eax, [esp + 0x34]
push eax
call fcn.004140b0
mov ecx, eax
call fcn.00414130
mov edi, eax
mov dword [esp + 0x64], 0xffffffff
cmp dword [esp + 0x48], 8
jb 0x4470ad
push dword [esp + 0x34]
call fcn.0044b63d
add esp, 4
xor eax, eax
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
test edi, edi
jne 0x4470d2
mov eax, 0xfffffffe
jmp 0x4473e1
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x47e418
push edi
call ebx
push str.CoInitializeSecurity
push edi
mov dword [esp + 0x2c], eax
call ebx
push str.CoSetProxyBlanket
push edi
mov ebp, eax
call ebx
cmp dword [esp + 0x24], 0
mov edi, eax
je 0x4470c8
test ebp, ebp
je 0x4470c8
test edi, edi
je 0x4470c8
lea ecx, [esp + 0x1c]
call fcn.00446900
mov dword [esp + 0x64], 1
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call ebp
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0
push eax
push 0x47bef8
push 1
push 0
push 0x47bfc8
call dword [esp + 0x38]
test eax, eax
js 0x4471b0
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x4471b0
lea edx, [esp + 0x2c]
mov dword [esp + 0x2c], 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 0x4471a6
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4471a6
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push eax
call edi
test eax, eax
mov eax, dword [esp + 0x2c]
jns 0x4471cd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x28]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov esi, 0xfffffffe
mov dword [esp + 0x64], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.00446a50
mov eax, esi
jmp 0x4473e1
mov ebp, dword [esp + 0x14]
lea edx, [esp + 0x30]
push edx
push 0
push 0x30
push dword [ebp*8 + 0x47dcd0]
mov dword [esp + 0x40], 0
mov ecx, dword [eax]
push 0x47e47c
push eax
call dword [ecx + 0x50]
test eax, eax
jns 0x447213
mov eax, dword [esp + 0x2c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x28]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov esi, 0xfffffffd
jmp 0x4471b5
push str.OleAut32.dll
lea ecx, [esp + 0x38]
call fcn.00402c40
mov byte [esp + 0x64], 2
lea eax, [esp + 0x34]
push eax
call fcn.004140b0
mov ecx, eax
call fcn.00414130
mov edi, eax
mov byte [esp + 0x64], 1
lea ecx, [esp + 0x34]
call fcn.00402d10
test edi, edi
jne 0x447267
mov eax, dword [esp + 0x2c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x28]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea esi, [edi - 4]
jmp 0x4471b5
push str.VariantInit
push edi
call ebx
push str.VariantClear
push edi
mov dword [esp + 0x1c], eax
call ebx
cmp dword [esp + 0x14], 0
mov dword [esp + 0x20], eax
je 0x4473c0
test eax, eax
je 0x4473c0
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x4473a7
mov ebx, dword [esp + 0x18]
mov edi, ebx
jmp 0x4472b0
mov dword [esp + 0x24], 0
mov dword [esp + 0x50], 0
test ebx, ebx
je 0x4472cd
cmp esi, 0xc
jge 0x44739d
mov eax, dword [ecx]
lea edx, [esp + 0x50]
push edx
lea edx, [esp + 0x28]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [esp + 0x50], 0
je 0x447399
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x447399
test ebx, ebx
je 0x44737e
lea eax, [esp + 0x34]
push eax
call dword [esp + 0x18]
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x34]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push dword [ebp*8 + 0x47dcd4]
push eax
call dword [ecx + 0x10]
mov ebx, dword [esp + 0x3c]
mov edx, 0x80
mov ecx, edi
sub ebx, edi
lea eax, [edx + 0x7fffff7e]
test eax, eax
je 0x447350
movzx eax, word [ebx + ecx]
test ax, ax
je 0x447350
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x447332
jmp 0x447354
test edx, edx
jne 0x447357
sub ecx, 2
xor eax, eax
mov word [ecx], ax
lea eax, [esp + 0x34]
push eax
call dword [esp + 0x24]
push ecx
mov edx, edi
mov ecx, ebp
call fcn.00446f60
mov ecx, dword [esp + 0x28]
add esp, 4
mov ebx, dword [esp + 0x18]
test eax, eax
je 0x447385
inc esi
add edi, 0x100
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esp + 0x30]
test ecx, ecx
jne 0x4472b0
jmp 0x4473a7
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x4473a7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esp + 0x2c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x28]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x4471b5
mov eax, dword [esp + 0x2c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x28]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov esi, 0xfffffffb
jmp 0x4471b5
or eax, 0xffffffff
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0044b642
add esp, 0x54
ret