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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x402556
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x402540
xor esi, esi
lea edx, [ebp - 0x90]
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x80], esi
mov dword [ebp - 0xa0], esi
mov dword [ebp - 0xc4], esi
mov dword [ebp - 0x58], 0x80020004
mov dword [ebp - 0x60], 0xa
mov dword [ebp - 0x88], 0x405e60
mov dword [ebp - 0x90], 8
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x50]
push eax
lea edx, [ebp - 0x70]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcGetObject]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaObjVar]
lea eax, [ebp - 0x70]
push eax
call ebx
lea ecx, [ebp - 0x2c]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
lea edx, [ebp - 0x70]
lea eax, [ebp - 0x60]
push edx
lea ecx, [ebp - 0x50]
push eax
push ecx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov edx, esp
mov ecx, 8
mov dword [ebp - 0x90], ecx
mov eax, 0x40624c
mov dword [edx], ecx
mov ecx, dword [ebp - 0x8c]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaLateMemCallLd]
mov dword [ebp - 0x88], eax
mov dword [edx + 4], ecx
mov ecx, dword [ebp - 0x2c]
push 1
push 0x406278
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x84]
push ecx
mov dword [edx + 0xc], eax
lea edx, [ebp - 0x50]
push edx
call edi
add esp, 0x20
push eax
call ebx
push eax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea ecx, [ebp - 0x50]
call ebx
mov eax, 0x40363c
mov ecx, 8
mov dword [ebp - 0x88], eax
sub esp, 0x10
mov dword [ebp - 0x90], ecx
mov edx, esp
push 1
push 0x406280
mov dword [edx], ecx
mov ecx, dword [ebp - 0x8c]
mov dword [edx + 4], ecx
mov ecx, dword [0x420018]
push ecx
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x84]
mov dword [edx + 0xc], eax
lea edx, [ebp - 0x50]
push edx
call edi
add esp, 0x20
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0x50]
call ebx
mov eax, dword [ebp - 0x3c]
push esi
push 0x4062a8
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCall]
mov edx, dword [ebp - 0x8c]
push ecx
mov ecx, esp
mov eax, 2
mov dword [ebp - 0x90], eax
push 0x4062c8
mov dword [ecx], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x88], esi
mov dword [ecx + 4], edx
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemSt]
sub esp, 0x10
mov ecx, 8
mov edx, esp
mov dword [ebp - 0x90], ecx
mov eax, 0x4062e4
push 1
mov dword [edx], ecx
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x88], eax
push 0x406278
mov dword [edx + 4], ecx
mov ecx, dword [ebp - 0x2c]
push ecx
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x84]
mov dword [edx + 0xc], eax
lea edx, [ebp - 0x50]
push edx
call edi
add esp, 0x20
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjVar]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
lea ecx, [ebp - 0x50]
call ebx
mov ecx, dword [ebp + 0xc]
push 0x406304
mov edx, dword [ecx]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov ecx, 8
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x50], ecx
lea edx, [ebp - 0x30]
sub esp, 0x10
mov dword [ebp - 0x98], edx
mov edx, esp
sub esp, 0x10
mov dword [ebp - 0xa0], 0x4008
mov dword [edx], ecx
mov ecx, dword [ebp - 0x4c]
mov dword [edx + 4], ecx
mov ecx, esp
sub esp, 0x10
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x44]
mov dword [edx + 0xc], eax
mov edx, dword [ebp - 0xa0]
mov eax, dword [ebp - 0x9c]
mov dword [ecx], edx
mov edx, dword [ebp - 0x98]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x94]
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0xac]
mov dword [ecx + 0xc], eax
mov ecx, esp
mov eax, 0x4009
sub esp, 0x10
mov dword [ecx], eax
lea eax, [ebp - 0x3c]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0xbc]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0xa4]
mov dword [ecx + 0xc], eax
mov ecx, esp
mov eax, 0x4003
push 4
mov dword [ecx], eax
lea eax, [ebp - 0x34]
push 0x406320
mov dword [ecx + 4], edx
lea edx, [ebp - 0x60]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0xb4]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x38]
push ecx
push edx
call edi
add esp, 0x50
mov edx, eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea ecx, [ebp - 0x50]
call ebx
mov eax, dword [ebp - 0x34]
push 0x406334
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrI4]
mov edx, eax
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
push esi
push 0x4063b0
sub esp, 0x10
mov ecx, 8
mov edx, esp
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x48], eax
push 1
mov dword [edx], ecx
mov ecx, dword [ebp - 0x4c]
push 0x40639c
mov dword [ebp - 0x98], esi
mov dword [edx + 4], ecx
mov ecx, dword [0x420020]
push ecx
mov dword [ebp - 0xa0], 0x8002
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x44]
mov dword [edx + 0xc], eax
lea edx, [ebp - 0x60]
push edx
call edi
add esp, 0x20
push eax
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarLateMemCallLd]
add esp, 0x10
lea ecx, [ebp - 0xa0]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
lea ecx, [ebp - 0x40]
mov ebx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea edx, [ebp - 0x70]
lea eax, [ebp - 0x60]
push edx
lea ecx, [ebp - 0x50]
push eax
push ecx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x10
cmp bx, si
jne 0x41f0b8
lea edx, [ebp - 0xc4]
mov dword [ebp - 0xc4], 0x64
push edx
call fcn.00413280
jmp 0x41efeb
push 0x41f117
jmp 0x41f0f3
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0x28]
call esi
lea ecx, [ebp - 0x2c]
call esi
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x38]
call esi
lea ecx, [ebp - 0x3c]
call esi
ret