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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4603ae
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x47b870]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp - 0x40]
call fcn.004555c0
movzx eax, al
test eax, eax
jne 0x45591e
xor al, al
jmp 0x455afe
push 0x46beb0
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x455939
xor al, al
jmp 0x455afe
mov ecx, dword [ebp - 0x40]
add ecx, 0x10
push ecx
push 0
push 0x10
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x18]
push ecx
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 0xc]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x50]
call ecx
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [ebp - 0x28], 0
jge 0x45597d
xor al, al
jmp 0x455afe
mov eax, dword [ebp - 0x40]
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
je 0x4559a7
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 0x10]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0xc]
call ecx
test eax, eax
jge 0x4559a7
xor al, al
jmp 0x455afe
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x40]
add eax, 0x14
push eax
push 1
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 0x10]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x10]
mov edx, dword [edx]
push ecx
mov eax, dword [edx + 0x10]
call eax
test eax, eax
jge 0x4559d5
xor al, al
jmp 0x455afe
push 0x46bf80
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x24]
call fcn.004048b0
mov dword [ebp - 4], 0
push 0
push 0
lea ecx, [ebp - 0x24]
push ecx
push 0
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0x14]
mov ecx, dword [ecx]
push eax
mov edx, dword [ecx + 0x10]
call edx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [ebp - 0x28], 0
jge 0x455a42
mov byte [ebp - 0x2d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00404920
mov al, byte [ebp - 0x2d]
jmp 0x455afe
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x34]
call fcn.00404940
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x48], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x48]
call fcn.004046c0
push eax
mov ecx, dword [ebp + 8]
call fcn.00402bb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.004045b0
mov ecx, dword [ebp + 8]
call fcn.00402e60
cmp eax, 4
jle 0x455ac2
mov ecx, dword [ebp + 8]
call fcn.00402e60
sub eax, 4
push eax
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp + 8]
call fcn.00404ae0
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x50]
push edx
mov ecx, dword [ebp + 8]
call fcn.00402f10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.004012e0
mov ecx, dword [ebp + 8]
call fcn.00404a90
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x10]
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0x10]
mov ecx, dword [ecx]
push eax
mov edx, dword [ecx + 8]
call edx
mov eax, dword [ebp - 0x40]
mov dword [eax + 0x10], 0
mov byte [ebp - 0x39], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00404920
mov al, byte [ebp - 0x39]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4