Function at 0x410f80
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x401506
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x13c
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x401438
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaVarCopy]
xor esi, esi
mov ebx, 8
lea edx, [ebp - 0xc4]
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x94], esi
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0xb4], esi
mov dword [ebp - 0xd4], esi
mov dword [ebp - 0xe4], esi
mov dword [ebp - 0x138], esi
mov dword [ebp - 0x13c], esi
mov dword [ebp - 0x140], esi
mov dword [ebp - 0x144], esi
mov dword [ebp - 0xbc], 0x40be48
mov dword [ebp - 0xc4], ebx
call edi
lea edx, [ebp - 0xc4]
lea ecx, [ebp - 0x34]
mov dword [ebp - 0xbc], 0x40c9d8
mov dword [ebp - 0xc4], ebx
call edi
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
lea eax, [ebp - 0xa4]
lea ecx, [ebp - 0xc4]
push eax
lea edx, [ebp - 0x34]
push ecx
lea eax, [ebp - 0x84]
push edx
push eax
mov dword [ebp - 0x9c], 0x80020004
mov dword [ebp - 0xa4], 0xa
mov dword [ebp - 0xbc], 0x40c9e0
mov dword [ebp - 0xc4], ebx
mov dword [ebp - 0xcc], 0x40c9fc
mov dword [ebp - 0xd4], ebx
call edi
lea ecx, [ebp - 0xd4]
push eax
lea edx, [ebp - 0x94]
push ecx
push edx
call edi
push eax
lea eax, [ebp - 0xb4]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcGetObject]
lea ecx, [ebp - 0xb4]
lea edx, [ebp - 0x54]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarSetVar]
lea eax, [ebp - 0xa4]
lea ecx, [ebp - 0x94]
push eax
lea edx, [ebp - 0x84]
push ecx
push edx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x10
mov dword [ebp - 0xbc], 0x40ca18
mov dword [ebp - 0xc4], ebx
mov dword [ebp - 0xdc], 0x40ca78
mov dword [ebp - 0xe4], ebx
mov dword [ebp - 0xfc], 0x80020004
mov dword [ebp - 0x104], 0xa
lea eax, [ebp - 0xc4]
mov edx, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0xd4]
call dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
lea ecx, [ebp - 0x84]
push eax
push ecx
call edi
push eax
lea edx, [ebp - 0xe4]
lea eax, [ebp - 0x94]
push edx
push eax
call edi
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
sub esp, 0x10
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0x104]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x100]
mov ecx, esp
sub esp, 0x10
mov dword [ecx], edx
mov edx, dword [ebp - 0xfc]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0xf8]
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0x120]
mov dword [ecx + 0xc], eax
mov ecx, esp
mov eax, 2
push 3
mov dword [ecx], eax
mov eax, 0x30
push 0x40c7e4
mov dword [ecx + 4], edx
lea edx, [ebp - 0xa4]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x118]
mov dword [ecx + 0xc], eax
lea ecx, [ebp - 0x54]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarLateMemCallLd]
add esp, 0x40
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarSetVar]
lea ecx, [ebp - 0x94]
lea edx, [ebp - 0x84]
push ecx
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x44]
lea edx, [ebp - 0x138]
push eax
push ecx
lea eax, [ebp - 0x140]
push edx
lea ecx, [ebp - 0x144]
push eax
lea edx, [ebp - 0x13c]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaForEachVar]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaNextEachVar]
cmp eax, esi
je 0x411266
lea edx, [ebp - 0xc4]
lea ecx, [ebp - 0x74]
mov dword [ebp - 0xbc], 0x40b78c
mov dword [ebp - 0xc4], ebx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCopy]
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x138]
push eax
lea edx, [ebp - 0x140]
push ecx
lea eax, [ebp - 0x144]
push edx
lea ecx, [ebp - 0x13c]
push eax
push ecx
call edi
jmp 0x41121f
lea edx, [ebp - 0x74]
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVBVM60.DLL___vbaVarCopy]
push 0x4112e9
jmp 0x4112b0
lea eax, [ebp - 0x13c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
lea ecx, [ebp - 0x138]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea ecx, [ebp - 0x24]
call esi
lea ecx, [ebp - 0x34]
call esi
lea ecx, [ebp - 0x44]
call esi
lea ecx, [ebp - 0x54]
call esi
lea ecx, [ebp - 0x74]
call esi
ret