Function at 0x452680
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x401916
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x401510
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
xor esi, esi
mov edx, 0x406654
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x90], esi
mov dword [ebp - 0xa0], esi
mov dword [ebp - 0xb0], esi
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xd0], esi
mov dword [ebp - 0xe0], esi
mov dword [ebp - 0xf0], esi
mov dword [ebp - 0x100], esi
mov dword [ebp - 0x110], esi
call ebx
lea eax, [ebp - 0x18]
push eax
call fcn.0044fb30
lea ecx, [ebp - 0x44]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
sub esp, 0x10
mov eax, 2
mov edx, esp
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0xd0], eax
push 1
mov dword [edx], eax
mov eax, dword [ebp - 0xcc]
push esi
mov dword [ebp - 0xc8], esi
mov dword [edx + 4], eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0xe8], 0x4045f0
mov dword [ebp - 0xf0], 8
mov dword [edx + 8], esi
mov dword [edx + 0xc], ecx
mov edx, dword [ebp - 0x44]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCallLd]
add esp, 0x20
lea ecx, [ebp - 0xf0]
lea edx, [ebp - 0x80]
push eax
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcTrimVar]
lea ecx, [ebp - 0x90]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x50]
call edi
lea edx, [ebp - 0x90]
lea eax, [ebp - 0x80]
push edx
push eax
lea ecx, [ebp - 0x70]
push ecx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov edx, dword [ebp - 0x44]
push esi
push 0x405998
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCall]
add esp, 0x1c
lea eax, [ebp - 0x44]
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
lea edx, [ebp - 0xd0]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xd0], 0xb
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov edx, 0x406440
lea ecx, [ebp - 0x5c]
call ebx
mov edx, 0x4066ac
lea ecx, [ebp - 0x58]
call ebx
mov edx, 0x406490
lea ecx, [ebp - 0x54]
call ebx
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x58]
push ecx
lea eax, [ebp - 0x54]
push edx
lea ecx, [ebp - 0x70]
push eax
push ecx
call fcn.00452220
lea edx, [ebp - 0x70]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x60]
call edi
lea eax, [ebp - 0x60]
push eax
call fcn.00450aa0
call dword [sym.imp.MSVBVM60.DLL___vbaFpI2]
lea ecx, [ebp - 0x60]
mov ebx, eax
lea edx, [ebp - 0x5c]
push ecx
lea eax, [ebp - 0x58]
push edx
lea ecx, [ebp - 0x54]
push eax
push ecx
push 4
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0x14
lea ecx, [ebp - 0x70]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
cmp bx, 1
jge 0x45289b
mov dword [ebp - 0x2c], 0x1e
mov edx, dword [ebp + 0xc]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
push 0x4066cc
mov eax, dword [edx]
push eax
call ebx
mov edx, eax
lea ecx, [ebp - 0x54]
call edi
push eax
push 0x405468
call ebx
mov edx, eax
lea ecx, [ebp - 0x18]
call edi
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x18]
push ecx
call fcn.0044fb30
lea edx, [ebp - 0x44]
push eax
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov eax, dword [ebp - 0x44]
push esi
push 0x40673c
lea ecx, [ebp - 0x70]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCallLd]
add esp, 0x10
lea edx, [ebp - 0x80]
push eax
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarNot]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaBoolVarNull]
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x114], eax
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
cmp word [ebp - 0x114], si
je 0x452a7e
sub esp, 0x10
mov ecx, 2
mov edx, esp
mov dword [ebp - 0xd0], ecx
xor eax, eax
push 1
mov dword [edx], ecx
mov ecx, dword [ebp - 0xcc]
mov dword [ebp - 0xc8], eax
push esi
mov dword [edx + 4], ecx
mov ecx, dword [ebp - 0x44]
push ecx
mov dword [ebp - 0xe8], 0x4045f0
mov dword [edx + 8], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xf0], 8
mov dword [edx + 0xc], eax
lea edx, [ebp - 0x70]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCallLd]
add esp, 0x20
lea ecx, [ebp - 0x80]
push eax
lea eax, [ebp - 0xf0]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
lea edx, [ebp - 0x90]
push eax
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcTrimVar]
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0x100]
push eax
push ecx
mov dword [ebp - 0xf8], 0x4045f0
mov dword [ebp - 0x100], 0x8008
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstNe]
mov dword [ebp - 0x114], eax
lea edx, [ebp - 0x90]
lea eax, [ebp - 0x80]
push edx
lea ecx, [ebp - 0x70]
push eax
push ecx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x10
cmp word [ebp - 0x114], si
je 0x452a7e
sub esp, 0x10
mov ecx, 2
mov edx, esp
mov dword [ebp - 0xd0], ecx
xor eax, eax
push 1
mov dword [edx], ecx
mov ecx, dword [ebp - 0xcc]
mov dword [ebp - 0xc8], eax
push esi
mov dword [edx + 4], ecx
mov ecx, dword [ebp - 0x44]
push ecx
mov dword [ebp - 0xe8], 0x4045f0
mov dword [edx + 8], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xf0], 8
mov dword [edx + 0xc], eax
lea edx, [ebp - 0x70]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCallLd]
add esp, 0x20
lea ecx, [ebp - 0x80]
push eax
lea eax, [ebp - 0xf0]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x30]
call edi
lea edx, [ebp - 0x80]
lea eax, [ebp - 0x70]
push edx
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
jmp 0x452a8a
mov edx, dword [ebp - 0x50]
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov ecx, dword [ebp - 0x44]
push esi
push 0x405998
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCall]
add esp, 0xc
lea edx, [ebp - 0x44]
push esi
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x50]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
test eax, eax
jne 0x452ad9
lea edx, [ebp - 0xd0]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xd0], 0xb
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea edx, [ebp - 0xe0]
lea ecx, [ebp - 0x70]
mov dword [ebp - 0xd8], 0x406748
mov dword [ebp - 0xe0], 8
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
lea edx, [ebp - 0x30]
push 1
lea eax, [ebp - 0x70]
mov dword [ebp - 0xc8], edx
push 1
lea ecx, [ebp - 0xd0]
push eax
lea edx, [ebp - 0x80]
push ecx
push edx
mov dword [ebp - 0xd0], 0x4008
call dword [sym.imp.MSVBVM60.DLL_rtcVarFromFormatVar]
lea edx, [ebp - 0x100]
lea ecx, [ebp - 0x90]
mov dword [ebp - 0xf8], 0x406748
mov dword [ebp - 0x100], 8
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
lea eax, [ebp - 0x50]
push 1
lea ecx, [ebp - 0x90]
mov dword [ebp - 0xe8], eax
push 1
lea edx, [ebp - 0xf0]
push ecx
lea eax, [ebp - 0xa0]
push edx
push eax
mov dword [ebp - 0xf0], 0x4008
call dword [sym.imp.MSVBVM60.DLL_rtcVarFromFormatVar]
push 1
lea ecx, [ebp - 0xa0]
push 1
lea edx, [ebp - 0x80]
push ecx
push edx
lea eax, [ebp - 0xb0]
push 0x405400
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcDateDiff]
mov cx, word [ebp - 0x2c]
lea edx, [ebp - 0xb0]
lea eax, [ebp - 0x110]
push edx
push eax
mov word [ebp - 0x108], cx
mov dword [ebp - 0x110], 0x8002
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstGt]
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x114], eax
lea edx, [ebp - 0xa0]
push ecx
lea eax, [ebp - 0x80]
push edx
lea ecx, [ebp - 0x90]
push eax
lea edx, [ebp - 0x70]
push ecx
push edx
push 5
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x18
cmp word [ebp - 0x114], si
je 0x452d51
lea edx, [ebp - 0xd0]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0xc8], 0xffffffff
mov dword [ebp - 0xd0], 0xb
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
cmp word [ebp + 0x10], si
je 0x452dff
mov eax, dword [ebp - 0x2c]
push 0x406764
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrI2]
mov edx, eax
lea ecx, [ebp - 0x54]
call edi
push eax
call ebx
mov edx, eax
lea ecx, [ebp - 0x58]
call edi
push eax
push 0x406578
call ebx
mov edx, eax
lea ecx, [ebp - 0x5c]
call edi
push eax
push 0x4054e4
call ebx
mov edx, eax
lea ecx, [ebp - 0x48]
call edi
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x58]
push ecx
lea eax, [ebp - 0x54]
push edx
push eax
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
mov ecx, dword [ebp - 0x48]
add esp, 0x10
push ecx
push 0x40679c
call ebx
mov edx, eax
lea ecx, [ebp - 0x54]
call edi
push eax
push 0x4054e4
call ebx
mov edx, eax
lea ecx, [ebp - 0x48]
call edi
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x54]
call esi
mov edx, dword [ebp - 0x48]
push edx
push 0x4067d8
call ebx
mov edx, eax
lea ecx, [ebp - 0x54]
call edi
push eax
push 0x4054e4
call ebx
mov edx, eax
lea ecx, [ebp - 0x48]
call edi
lea ecx, [ebp - 0x54]
call esi
mov eax, 0xa
mov ecx, 0x80020004
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x68], ecx
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x90]
mov dword [ebp - 0xc8], eax
lea edx, [ebp - 0x80]
push ecx
lea eax, [ebp - 0x70]
push edx
mov dword [ebp - 0xd0], 0x4008
push eax
lea ecx, [ebp - 0xd0]
push 0x10
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcMsgBox]
lea edx, [ebp - 0x90]
lea eax, [ebp - 0x80]
push edx
lea ecx, [ebp - 0x70]
push eax
push ecx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x10
wait
push 0x452e8b
jmp 0x452e5e
mov edx, dword [ebp - 0x50]
push 0x406810
push edx
call ebx
mov edx, eax
lea ecx, [ebp - 0x54]
call edi
push eax
push 0x405468
call ebx
mov edx, eax
lea ecx, [ebp - 0x58]
call edi
push eax
push 0x4054e4
call ebx
mov edx, eax
lea ecx, [ebp - 0x18]
call edi
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x54]
push eax
push ecx
push 2
call esi
mov edx, dword [ebp - 0x18]
add esp, 0xc
push edx
push 0x406868
call ebx
mov edx, eax
lea ecx, [ebp - 0x54]
call edi
push eax
mov eax, dword [0x46911c]
push eax
call ebx
mov edx, eax
lea ecx, [ebp - 0x58]
call edi
push eax
push 0x405468
call ebx
mov edx, eax
lea ecx, [ebp - 0x18]
call edi
lea ecx, [ebp - 0x58]
lea edx, [ebp - 0x54]
push ecx
push edx
push 2
call esi
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
call fcn.0044f540
lea edx, [ebp - 0xd0]
lea ecx, [ebp - 0x40]
mov word [ebp - 0xc8], ax
mov dword [ebp - 0xd0], 2
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
wait
push 0x452e8b
jmp 0x452e5e
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x18]
call esi
lea ecx, [ebp - 0x30]
call esi
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0x48]
call esi
lea ecx, [ebp - 0x50]
call esi
ret