Function at 0x42dac0
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, 0x8c
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x401538
mov ecx, dword [0x469308]
xor ebx, ebx
cmp ecx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x1c], 1
je 0x42db58
cmp word [ecx], 1
jne 0x42db58
mov eax, dword [ebp + 0xc]
mov edx, dword [ecx + 0x14]
movsx esi, word [eax]
mov eax, dword [ecx + 0x10]
sub esi, edx
cmp esi, eax
jb 0x42db44
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [0x469308]
lea eax, [esi*8]
sub eax, esi
lea edx, [eax + eax*2]
lea eax, [esi + edx*2]
shl eax, 2
jmp 0x42db64
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [0x469308]
mov ecx, dword [ecx + 0xc]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
push 0x409dcc
mov edx, dword [ecx + eax + 0x44]
push edx
call esi
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x24]
call edi
push eax
push 0x409e40
call esi
mov edx, eax
lea ecx, [ebp - 0x14]
call edi
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov eax, dword [0x469308]
cmp eax, ebx
je 0x42dbd9
cmp word [eax], 1
jne 0x42dbd9
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax + 0x14]
movsx ebx, word [ecx]
mov ecx, dword [eax + 0x10]
sub ebx, edx
cmp ebx, ecx
jb 0x42dbc5
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
lea eax, [ebx*8]
sub eax, ebx
lea edx, [eax + eax*2]
lea ebx, [ebx + edx*2]
shl ebx, 2
jmp 0x42dbe1
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ebx, eax
mov eax, dword [ebp - 0x14]
push eax
push 0x409e78
call esi
mov edx, eax
lea ecx, [ebp - 0x24]
call edi
mov ecx, dword [0x469308]
push eax
mov edx, dword [ecx + 0xc]
mov ax, word [edx + ebx + 0x90]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrI2]
mov edx, eax
lea ecx, [ebp - 0x28]
call edi
push eax
call esi
mov edx, eax
lea ecx, [ebp - 0x2c]
call edi
push eax
push 0x409e94
call esi
mov edx, eax
lea ecx, [ebp - 0x14]
call edi
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
lea ecx, [ebp - 0x2c]
lea edx, [ebp - 0x28]
push ecx
lea eax, [ebp - 0x24]
push edx
push eax
push 3
call ebx
mov ecx, dword [ebp - 0x14]
add esp, 0x10
push ecx
push 0x409ec0
call esi
mov edx, eax
lea ecx, [ebp - 0x14]
call edi
mov edx, dword [ebp - 0x14]
mov eax, dword [0x469164]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrI4]
mov edx, eax
lea ecx, [ebp - 0x24]
call edi
push eax
call esi
mov edx, eax
lea ecx, [ebp - 0x28]
call edi
push eax
push 0x409fe0
call esi
mov edx, eax
lea ecx, [ebp - 0x14]
call edi
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x24]
push ecx
push edx
push 2
call ebx
add esp, 0xc
mov ecx, 0x4008
lea eax, [ebp - 0x14]
mov edx, 1
push 0x40a00c
mov esi, 2
sub esp, 0x10
mov ebx, esp
mov dword [ebx], ecx
mov ecx, dword [ebp - 0x50]
mov dword [ebx + 4], ecx
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x48]
sub esp, 0x10
mov ecx, esp
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x60]
push esi
mov dword [ecx], esi
push 0x409fe8
mov dword [ecx + 4], eax
mov eax, dword [0x46902c]
push eax
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0x58]
mov dword [ecx + 0xc], edx
lea ecx, [ebp - 0x44]
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 - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x7c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
test eax, eax
fnclex
jge 0x42dd32
mov ecx, dword [ebp - 0x20]
push 0x48
push 0x40a00c
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x42e002
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x20]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaRedimPreserve]
lea ecx, [ebp - 0x78]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x30]
test eax, eax
fnclex
jge 0x42dd6f
mov edx, dword [ebp - 0x20]
push 0x30
push 0x40a00c
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
cmp word [ebp - 0x78], 0xffff
je 0x42e002
movsx esi, word [ebp - 0x18]
mov eax, dword [ebp + 8]
push 0
push esi
push 1
push 8
push eax
push 4
push 0x180
mov dword [ebp - 0x9c], esi
call ebx
push 0
push esi
push 1
push 6
push 0x46934c
push 8
push 0x80
call ebx
mov eax, dword [ebp - 0x20]
add esp, 0x38
lea edx, [ebp - 0x30]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x24]
test eax, eax
fnclex
jge 0x42ddd5
mov ecx, dword [ebp - 0x20]
push 0x24
push 0x40a00c
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea ebx, [ebp - 0x34]
mov eax, dword [ebp - 0x30]
push ebx
mov edx, 8
sub esp, 0x10
mov esi, dword [eax]
mov ebx, esp
mov ecx, 0x40a020
push eax
mov dword [ebp - 0x88], eax
mov dword [ebx], edx
mov edx, dword [ebp - 0x50]
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x48]
mov dword [ebx + 0xc], ecx
call dword [esi + 0x34]
test eax, eax
fnclex
jge 0x42de23
mov edx, dword [ebp - 0x88]
push 0x34
push 0x40a030
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x44]
push edx
push eax
mov ecx, dword [eax]
mov esi, eax
call dword [ecx + 0x1c]
test eax, eax
fnclex
jge 0x42de47
push 0x1c
push 0x40a040
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x42de73
cmp word [eax], 1
jne 0x42de73
mov esi, dword [ebp - 0x9c]
mov edx, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
sub esi, edx
cmp esi, ecx
jb 0x42de6e
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
shl esi, 2
jmp 0x42de7b
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov esi, eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x24]
call edi
mov ecx, dword [ebx]
mov edx, eax
mov ecx, dword [ecx + 0xc]
add ecx, esi
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea edx, [ebp - 0x34]
lea eax, [ebp - 0x30]
push edx
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x30]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
test eax, eax
fnclex
jge 0x42dee5
mov ecx, dword [ebp - 0x20]
push 0x24
push 0x40a00c
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea ebx, [ebp - 0x34]
mov eax, dword [ebp - 0x30]
push ebx
mov edx, 8
sub esp, 0x10
mov esi, dword [eax]
mov ebx, esp
mov ecx, 0x40a054
push eax
mov dword [ebp - 0x88], eax
mov dword [ebx], edx
mov edx, dword [ebp - 0x50]
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x48]
mov dword [ebx + 0xc], ecx
call dword [esi + 0x34]
test eax, eax
fnclex
jge 0x42df37
mov edx, dword [ebp - 0x88]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x34
push 0x40a030
push edx
push eax
call ebx
jmp 0x42df3d
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x44]
push edx
push eax
mov ecx, dword [eax]
mov esi, eax
call dword [ecx + 0x1c]
test eax, eax
fnclex
jge 0x42df5d
push 0x1c
push 0x40a040
push esi
push eax
call ebx
mov eax, dword [0x46934c]
test eax, eax
je 0x42df8b
cmp word [eax], 1
jne 0x42df8b
mov ecx, dword [ebp - 0x9c]
mov edx, dword [eax + 0x14]
sub ecx, edx
mov esi, ecx
mov ecx, dword [eax + 0x10]
cmp esi, ecx
jb 0x42df86
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
shl esi, 3
jmp 0x42df93
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov esi, eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaCyVar]
mov ecx, dword [0x46934c]
mov ecx, dword [ecx + 0xc]
mov dword [ecx + esi], eax
lea eax, [ebp - 0x30]
mov dword [ecx + esi + 4], edx
lea edx, [ebp - 0x34]
push edx
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa4]
test eax, eax
fnclex
jge 0x42dfec
mov edx, dword [ebp - 0x20]
push 0xa4
push 0x40a00c
push edx
push eax
call ebx
mov ax, word [ebp - 0x18]
add ax, 1
jo 0x42e0ca
mov dword [ebp - 0x18], eax
jmp 0x42dd44
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x30]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
sub esp, 0x10
mov ecx, 0x4009
mov edx, esp
lea eax, [ebp - 0x30]
push 1
push 0x409da4
mov dword [edx], ecx
mov ecx, dword [ebp - 0x50]
mov dword [edx + 4], ecx
mov ecx, dword [0x46902c]
push ecx
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x48]
mov dword [edx + 0xc], eax
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCall]
mov edx, dword [ebp - 0x30]
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 - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
push 0x42e0b3
jmp 0x42e0a0
lea ecx, [ebp - 0x14]
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]