Function at 0x423970
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x403616
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4b0
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x4016f0
mov ecx, 0x102
xor eax, eax
lea edi, [ebp - 0x434]
push 0x11
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x28]
xor esi, esi
push 0x40e7fc
push eax
mov dword [ebp - 0x438], esi
mov dword [ebp - 0x43c], esi
mov dword [ebp - 0x440], esi
mov dword [ebp - 0x444], esi
mov dword [ebp - 0x448], esi
mov dword [ebp - 0x44c], esi
mov dword [ebp - 0x45c], esi
mov dword [ebp - 0x46c], esi
mov dword [ebp - 0x47c], esi
mov dword [ebp - 0x48c], esi
mov dword [ebp - 0x490], esi
mov dword [ebp - 0x4a0], esi
mov dword [ebp - 0x4b0], esi
mov dword [ebp - 0x4b4], esi
call dword [sym.imp.MSVBVM60.DLL___vbaAryConstruct2]
lea ecx, [ebp - 0x45c]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcGetDateVar]
lea edx, [ebp - 0x47c]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcGetTimeVar]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
mov ebx, 8
lea edx, [ebp - 0x4a0]
lea ecx, [ebp - 0x46c]
mov dword [ebp - 0x498], 0x40e794
mov dword [ebp - 0x4a0], ebx
call edi
lea edx, [ebp - 0x4b0]
lea ecx, [ebp - 0x48c]
mov dword [ebp - 0x4a8], 0x40e7ac
mov dword [ebp - 0x4b0], ebx
call edi
mov ebx, dword [sym.imp.MSVBVM60.DLL_rtcBstrFromFormatVar]
push 1
lea eax, [ebp - 0x46c]
push 1
lea ecx, [ebp - 0x45c]
push eax
push ecx
call ebx
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x440]
call edi
push eax
push 1
lea edx, [ebp - 0x48c]
push 1
lea eax, [ebp - 0x47c]
push edx
push eax
call ebx
mov edx, eax
lea ecx, [ebp - 0x444]
call edi
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
push eax
call ebx
mov edx, eax
lea ecx, [ebp - 0x448]
call edi
push eax
push 0x40cdd8
call ebx
mov edx, eax
lea ecx, [ebp - 0x44c]
call edi
mov ebx, dword [ebp + 0xc]
push eax
mov ecx, dword [ebx]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
mov ecx, ebx
call edi
lea edx, [ebp - 0x44c]
lea eax, [ebp - 0x448]
push edx
lea ecx, [ebp - 0x444]
push eax
lea edx, [ebp - 0x440]
push ecx
push edx
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
lea eax, [ebp - 0x48c]
lea ecx, [ebp - 0x47c]
push eax
lea edx, [ebp - 0x46c]
push ecx
lea eax, [ebp - 0x45c]
push edx
push eax
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x28
lea ecx, [ebp - 0x4a0]
lea edx, [ebp - 0x45c]
mov dword [ebp - 0x434], 1
push esi
push 0x80
push ecx
push edx
mov dword [ebp - 0x498], ebx
mov dword [ebp - 0x4a0], 0x4008
call dword [sym.imp.MSVBVM60.DLL_rtcStrConvVar2]
lea eax, [ebp - 0x45c]
lea ecx, [ebp - 0x46c]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLenVarB]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaI4Var]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea ecx, [ebp - 0x45c]
mov dword [ebp - 0x430], eax
call edi
push esi
lea edx, [ebp - 0x4a0]
push 0x80
lea eax, [ebp - 0x45c]
push edx
push eax
mov dword [ebp - 0x498], ebx
mov dword [ebp - 0x4a0], 0x4008
call dword [sym.imp.MSVBVM60.DLL_rtcStrConvVar2]
lea ecx, [ebp - 0x45c]
lea edx, [ebp - 0x490]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVar2Vec]
lea eax, [ebp - 0x490]
lea ecx, [ebp - 0x438]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaAryMove]
lea ecx, [ebp - 0x45c]
call edi
mov edx, dword [ebp - 0x438]
lea eax, [ebp - 0x43c]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
mov ecx, dword [ebp - 0x43c]
cmp ecx, esi
je 0x423c3c
cmp word [ecx], 1
jne 0x423c3c
mov ebx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
neg ebx
cmp ebx, eax
jb 0x423c38
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x43c]
mov eax, ebx
jmp 0x423c48
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x43c]
mov edx, dword [ebp - 0x430]
mov ecx, dword [ecx + 0xc]
push edx
add ecx, eax
lea edx, [ebp - 0x42c]
push ecx
push edx
call fcn.00408e74
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
call ebx
lea eax, [ebp - 0x43c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
mov ecx, dword [ebp - 0x430]
mov eax, dword [ebp - 0x1c]
add ecx, 8
lea edx, [ebp - 0x434]
jo 0x423db8
push ecx
push edx
push eax
call fcn.00408e74
call ebx
lea ecx, [ebp - 0x28]
sub esp, 0x10
mov dword [ebp - 0x4b4], ecx
mov edx, esp
mov ecx, 0x6011
lea eax, [ebp - 0x4b4]
mov dword [ebp - 0x4a0], ecx
mov dword [edx], ecx
mov ecx, dword [ebp - 0x49c]
mov dword [ebp - 0x498], eax
mov dword [edx + 4], ecx
mov ecx, dword [ebp + 8]
push 1
push 0x40e7e4
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x494]
push esi
push 0x40e7d4
mov dword [edx + 0xc], eax
mov edx, dword [ecx]
lea eax, [ebp - 0x46c]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCallLd]
add esp, 0x10
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjVar]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCall]
add esp, 0x1c
lea ecx, [ebp - 0x46c]
call edi
push 0x423da5
jmp 0x423d7f
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaAryDestruct]
lea eax, [ebp - 0x4b4]
xor esi, esi
lea edx, [ebp - 0x28]
push eax
push esi
mov dword [ebp - 0x4b4], edx
call edi
lea ecx, [ebp - 0x438]
push ecx
push esi
call edi
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop