Function at 0x4f30d8
Capabilities:
Reference sql statements
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x15
push 0
push 0
dec ecx
jne 0x4f30e1
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0x54], ecx
mov edi, edx
mov esi, eax
mov ebx, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x4f35ad
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
xor edx, edx
call fcn.00407c9c
mov dword [ebp - 0x58], 0xffffffff
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4f1b04]
call fcn.004f21f8
mov dword [ebp - 0x5c], eax
xor eax, eax
push ebp
push 0x4f34b8
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4f3474
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x64]
mov edx, edi
call fcn.00407f28
mov eax, dword [ebp - 0x64]
push eax
lea eax, [ebp - 0x68]
mov edx, dword [ebp - 0x54]
call fcn.00407f28
mov eax, dword [ebp - 0x68]
push eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x6c]
mov edx, esi
call fcn.00407f28
mov edx, dword [ebp - 0x6c]
mov ecx, 0x4f35c8
mov eax, dword [ebp - 0x5c]
call fcn.004f22bc
lea eax, [ebp - 0x70]
call fcn.0040af74
push eax
push 0xffffffffffffffff
push 0x12
lea eax, [ebp - 0x74]
call fcn.0040af74
push eax
lea eax, [ebp - 0x78]
call fcn.0040af74
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x64]
call fcn.0040b084
mov eax, dword [ebp - 0x78]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
call fcn.0040b084
mov eax, dword [ebp - 0x74]
push eax
mov eax, dword [eax]
call dword [eax + 0x28]
call fcn.0040b084
lea eax, [ebp - 0x2c]
mov edx, 0x4f35ec
call fcn.00407cf0
lea eax, [ebp - 8]
call fcn.0040af74
push eax
push 0
push 0x10
push 0x4f3660
lea eax, [ebp - 0x7c]
mov edx, dword [ebp - 0x2c]
call fcn.00407f28
mov eax, dword [ebp - 0x7c]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x3c]
call fcn.0040b084
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
call fcn.0040b084
cmp dword [ebp - 0x80], 1
jge 0x4f3236
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00406420
jmp 0x4f34bf
lea eax, [ebp - 0x84]
call fcn.0040af74
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call fcn.0040b084
mov edx, dword [ebp - 0x84]
lea eax, [ebp - 0x28]
mov ecx, 0x4f3668
call fcn.0040afb8
jmp 0x4f344f
lea eax, [ebp - 0x88]
lea edx, [ebp - 0x40]
call fcn.0042985c
mov edx, dword [ebp - 0x88]
lea eax, [ebp - 0xc]
mov ecx, 0x4f3678
call fcn.0040afb8
lea eax, [ebp - 0x24]
call fcn.0040af74
push eax
push 0
push 0x4f368c
lea eax, [ebp - 0x8c]
call fcn.0040af74
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x70]
call fcn.0040b084
mov eax, dword [ebp - 0x8c]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
call fcn.0040b084
lea eax, [ebp - 0x14]
call fcn.0040af74
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
call fcn.0040b084
lea eax, [ebp - 0x10]
call fcn.0040af74
push eax
push 0
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x60]
call fcn.0040b084
mov esi, 5
test bl, bl
je 0x4f3302
mov esi, 6
lea eax, [ebp - 0x20]
call fcn.0040af74
push eax
push 0
push 0
push 3
push 0x4f36ac
lea eax, [ebp - 0x90]
call fcn.0040af74
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x6c]
call fcn.0040b084
mov eax, dword [ebp - 0x90]
push eax
mov eax, dword [eax]
call dword [eax + 0x28]
call fcn.0040b084
lea eax, [ebp - 0x50]
mov edx, esi
mov cl, 4
call fcn.00429a30
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
call fcn.0040b084
lea eax, [ebp - 0x18]
call fcn.0040af74
push eax
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
push 0x4f368c
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x4c]
call fcn.0040b084
lea eax, [ebp - 0x1c]
call fcn.0040af74
push eax
push 0
push 0x4f36bc
lea eax, [ebp - 0x94]
call fcn.0040af74
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0x6c]
call fcn.0040b084
mov eax, dword [ebp - 0x94]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
call fcn.0040b084
lea eax, [ebp - 0xa4]
call fcn.0042466c
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call fcn.0040b084
lea eax, [ebp - 0xa4]
call fcn.0042546c
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x40]
call fcn.00424658
lea eax, [ebp - 0x50]
call fcn.00424658
cmp dword [ebp - 0x58], 0
je 0x4f3440
push 0x4f36e0
lea edx, [ebp - 0xa8]
mov eax, dword [ebp - 0x58]
call fcn.0041b304
push dword [ebp - 0xa8]
push 0x4f371c
lea edx, [ebp - 0xac]
mov eax, dword [ebp - 0x58]
call fcn.004f1600
push dword [ebp - 0xac]
push 0x4f3730
mov eax, dword [ebp + 8]
mov edx, 5
call fcn.00408264
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00406420
jmp 0x4f34bf
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x40]
push eax
push 1
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
je 0x4f3268
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4f34a2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f34bf
mov eax, dword [ebp - 0x5c]
call fcn.00405854
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f35b7
lea eax, [ebp - 0xac]
mov edx, 2
call fcn.00407c94
lea eax, [ebp - 0xa4]
call fcn.0042466c
lea eax, [ebp - 0x94]
mov edx, dword [0x4f190c]
mov ecx, 2
call fcn.00408b38
lea eax, [ebp - 0x8c]
call fcn.0040af74
lea eax, [ebp - 0x88]
mov edx, dword [0x401c7c]
mov ecx, 2
call fcn.00408b38
lea eax, [ebp - 0x7c]
call fcn.00407784
lea eax, [ebp - 0x78]
call fcn.0040af74
lea eax, [ebp - 0x74]
call fcn.0040af74
lea eax, [ebp - 0x70]
call fcn.0040af74
lea eax, [ebp - 0x6c]
mov edx, 3
call fcn.0040779c
lea eax, [ebp - 0x50]
mov edx, dword [0x4012b8]
mov ecx, 2
call fcn.00408b38
lea eax, [ebp - 0x2c]
call fcn.00407c8c
lea eax, [ebp - 0x28]
call fcn.0040af74
lea eax, [ebp - 0x24]
call fcn.0040af74
lea eax, [ebp - 0x20]
mov edx, dword [0x4f1950]
mov ecx, 2
call fcn.00408b38
lea eax, [ebp - 0x18]
mov edx, dword [0x4f1888]
mov ecx, 4
call fcn.00408b38
lea eax, [ebp - 8]
call fcn.0040af74
lea eax, [ebp - 4]
call fcn.0040af74
ret