Function at 0x451d70
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x401f26
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa8
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x401a88
xor edi, edi
mov edx, 0x40c874
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x90], edi
mov dword [ebp - 0x94], edi
mov dword [ebp - 0x1c], 1
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
push 0x40a00c
mov ecx, 0x4008
sub esp, 0x10
lea eax, [ebp - 0x18]
mov ebx, esp
sub esp, 0x10
mov esi, 2
mov edx, 1
mov dword [ebx], ecx
mov ecx, dword [ebp - 0x68]
mov dword [ebx + 4], ecx
mov ecx, esp
push esi
push 0x409fe8
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x60]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x78]
mov dword [ecx], esi
mov dword [ecx + 4], eax
mov eax, dword [0x46902c]
push eax
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0x70]
mov dword [ecx + 0xc], edx
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCallLd]
add esp, 0x30
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaCastObjVar]
lea edx, [ebp - 0x20]
push eax
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x94]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
test eax, eax
fnclex
jge 0x451e7d
mov ecx, dword [ebp - 0x20]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x48
push 0x40a00c
push ecx
push eax
call ebx
jmp 0x451e83
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x94]
test eax, eax
je 0x45225a
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x90]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x30]
test eax, eax
fnclex
jge 0x451eb5
mov edx, dword [ebp - 0x20]
push 0x30
push 0x40a00c
push edx
push eax
call ebx
cmp word [ebp - 0x90], 0xffff
je 0x45224e
movsx eax, di
push 0
push eax
push 1
push 0x4082b0
push 0x469194
push 0xc
push 0
mov dword [ebp - 0xb8], eax
call dword [sym.imp.MSVBVM60.DLL___vbaRedimPreserve]
mov eax, dword [ebp - 0x20]
add esp, 0x1c
lea edx, [ebp - 0x28]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x24]
test eax, eax
fnclex
jge 0x451f09
mov ecx, dword [ebp - 0x20]
push 0x24
push 0x40a00c
push ecx
push eax
call ebx
lea ebx, [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
push ebx
mov edx, 8
sub esp, 0x10
mov esi, dword [eax]
mov ebx, esp
mov ecx, 0x40c8c4
push eax
mov edi, eax
mov dword [ebx], edx
mov edx, dword [ebp - 0x68]
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x60]
mov dword [ebx + 0xc], ecx
call dword [esi + 0x34]
test eax, eax
fnclex
jge 0x451f51
push 0x34
push 0x40a030
push edi
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push eax
call edi
jmp 0x451f57
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x3c]
push ecx
push eax
mov edx, dword [eax]
mov esi, eax
call dword [edx + 0x1c]
test eax, eax
fnclex
jge 0x451f77
push 0x1c
push 0x40a040
push esi
push eax
call edi
mov eax, dword [0x469194]
test eax, eax
je 0x451fa6
cmp word [eax], 1
jne 0x451fa6
mov esi, dword [ebp - 0xb8]
mov edx, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
sub esi, edx
cmp esi, ecx
jb 0x451f9e
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
lea esi, [esi + esi*2]
shl esi, 2
jmp 0x451fae
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov esi, eax
lea edx, [ebp - 0x3c]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
mov eax, dword [0x469194]
mov ecx, dword [eax + 0xc]
add ecx, esi
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x2c]
lea edx, [ebp - 0x28]
push ecx
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x28]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
test eax, eax
fnclex
jge 0x45201b
mov ecx, dword [ebp - 0x20]
push 0x24
push 0x40a00c
push ecx
push eax
call edi
lea ebx, [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
push ebx
mov edx, 8
sub esp, 0x10
mov edi, dword [eax]
mov ebx, esp
mov ecx, 0x40c8d8
push eax
mov esi, eax
mov dword [ebx], edx
mov edx, dword [ebp - 0x68]
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x60]
mov dword [ebx + 0xc], ecx
call dword [edi + 0x34]
test eax, eax
fnclex
jge 0x452063
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x34
push 0x40a030
push esi
push eax
call edi
jmp 0x452069
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x3c]
push ecx
push eax
mov edx, dword [eax]
mov esi, eax
call dword [edx + 0x1c]
test eax, eax
fnclex
jge 0x452089
push 0x1c
push 0x40a040
push esi
push eax
call edi
mov eax, dword [0x469194]
test eax, eax
je 0x4520b8
cmp word [eax], 1
jne 0x4520b8
mov esi, dword [ebp - 0xb8]
mov edx, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
sub esi, edx
cmp esi, ecx
jb 0x4520b0
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
lea esi, [esi + esi*2]
shl esi, 2
jmp 0x4520c0
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov esi, eax
lea edx, [ebp - 0x3c]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
mov eax, dword [0x469194]
mov ecx, dword [eax + 0xc]
lea ecx, [ecx + esi + 4]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x28]
push edx
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x28]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
test eax, eax
fnclex
jge 0x45212f
mov ecx, dword [ebp - 0x20]
push 0x24
push 0x40a00c
push ecx
push eax
call edi
lea ebx, [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
push ebx
mov edx, 8
sub esp, 0x10
mov edi, dword [eax]
mov ebx, esp
mov ecx, 0x40c8c4
push eax
mov esi, eax
mov dword [ebx], edx
mov edx, dword [ebp - 0x68]
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x60]
mov dword [ebx + 0xc], ecx
call dword [edi + 0x34]
test eax, eax
fnclex
jge 0x452177
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x34
push 0x40a030
push esi
push eax
call ebx
jmp 0x45217d
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x4c]
push edx
push eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x3c], 9
call dword [sym.imp.MSVBVM60.DLL_rtcTrimVar]
mov eax, dword [0x469194]
test eax, eax
je 0x4521ce
cmp word [eax], 1
jne 0x4521ce
mov esi, dword [ebp - 0xb8]
mov edx, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
sub esi, edx
cmp esi, ecx
jb 0x4521c6
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
lea esi, [esi + esi*2]
shl esi, 2
jmp 0x4521d6
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov esi, eax
lea ecx, [ebp - 0x4c]
lea edx, [ebp - 0x5c]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLenVar]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaI2Var]
mov ecx, dword [0x469194]
mov edx, dword [ecx + 0xc]
lea ecx, [ebp - 0x28]
mov word [edx + esi + 8], ax
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x3c]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov edx, dword [eax]
push eax
call dword [edx + 0xa4]
test eax, eax
fnclex
jge 0x452238
mov ecx, dword [ebp - 0x20]
push 0xa4
push 0x40a00c
push ecx
push eax
call ebx
mov di, word [ebp - 0x14]
add di, 1
jo 0x452320
mov dword [ebp - 0x14], edi
jmp 0x451e91
call fcn.00453680
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x28]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
sub esp, 0x10
mov ecx, 0x4009
mov edx, esp
lea eax, [ebp - 0x28]
push 1
push 0x409da4
mov dword [edx], ecx
mov ecx, dword [ebp - 0x68]
mov dword [edx + 4], ecx
mov ecx, dword [0x46902c]
push ecx
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x60]
mov dword [edx + 0xc], eax
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCall]
mov edx, dword [ebp - 0x28]
add esp, 0x1c
push 0x40a00c
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
push 0x45230b
jmp 0x4522f8
lea ecx, [ebp - 0x18]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop