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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x11001e06
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0xb0
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x11001ae0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
push 0x1100368c
call dword [sym.imp.MSVBVM60.DLL___vbaAptOffset]
mov dword [ebp - 0xcc], eax
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 3
mov dword [ebp - 0x90], 0x110068c4
mov dword [ebp - 0x98], 8
mov dword [ebp - 0x40], 0x80020004
mov dword [ebp - 0x48], 0xa
mov dword [ebp - 0x70], 0x1100689c
mov dword [ebp - 0x78], 8
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x58]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcGetObject]
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov eax, esp
mov ecx, dword [ebp - 0x98]
mov dword [eax], ecx
mov edx, dword [ebp - 0x94]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x90]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x8c]
mov dword [eax + 0xc], edx
push 1
push 0x11006954
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x68]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarLateMemCallLd]
add esp, 0x20
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjVar]
push eax
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x38]
push eax
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x14
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x28]
push ecx
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0xb0]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaForEachCollAd]
mov dword [ebp - 0xd0], eax
jmp 0x1101606b
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x24]
push ecx
lea edx, [ebp - 0xb4]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
mov dword [ebp - 4], 6
push 0
push 0x11006968
mov eax, dword [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x38]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCallLd]
add esp, 0x10
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
mov ecx, dword [ebp - 0xcc]
add ecx, 0x110190ac
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 7
push 0
push 0xffffffffffffffff
push 1
push 0x11003f70
push 0x11004d74
mov edx, dword [ebp - 0xcc]
mov eax, dword [edx + 0x110190ac]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcReplace]
mov edx, eax
mov ecx, dword [ebp - 0xcc]
add ecx, 0x110190ac
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov dword [ebp - 4], 8
mov dword [ebp - 0x70], 0x11003f70
mov dword [ebp - 0x78], 0x8008
push 0
push 0x11006980
mov ecx, dword [ebp - 0xb4]
push ecx
lea edx, [ebp - 0x38]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCallLd]
add esp, 0x10
push eax
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstNe]
mov word [ebp - 0xac], ax
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x70], 0x11003f70
mov dword [ebp - 0x78], 0x8008
push 0
push 0x110069a4
mov edx, dword [ebp - 0xb4]
push edx
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCallLd]
add esp, 0x10
push eax
lea ecx, [ebp - 0x78]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstNe]
mov word [ebp - 0xac], ax
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0xc
push 0
lea eax, [ebp - 0xb4]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
mov dword [ebp - 4], 0xd
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0xb0]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaNextEachCollAd]
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 0
jne 0x11015f05
mov dword [ebp - 4], 0xe
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
jmp 0x11016098
call dword [sym.imp.MSVBVM60.DLL___vbaExitProc]
push 0x110160ed
jmp 0x110160c1
lea ecx, [ebp - 0xb4]
push ecx
lea edx, [ebp - 0xb0]
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
ret