Function at 0x441640
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x401f26
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa0
push ebx
push esi
push edi
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x10], 0x401820
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], 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 - 0x38], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x90], ebx
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 0x28], ebx
push 0x40b8bc
mov ax, word [0x469374]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrI2]
mov edx, eax
lea ecx, [ebp - 0x30]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
call edi
push eax
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
call esi
mov edx, eax
lea ecx, [ebp - 0x34]
call edi
push eax
push 0x40b930
call esi
mov edx, eax
lea ecx, [ebp - 0x38]
call edi
push eax
mov ecx, dword [0x469164]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrI4]
mov edx, eax
lea ecx, [ebp - 0x3c]
call edi
push eax
call esi
mov edx, eax
lea ecx, [ebp - 0x40]
call edi
push eax
push 0x40ba10
call esi
mov edx, eax
lea ecx, [ebp - 0x20]
call edi
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x30]
push eax
push 5
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0x18
lea eax, [ebp - 0x20]
mov ecx, 0x4008
mov edx, 1
mov esi, 2
push 0x40a00c
sub esp, 0x10
mov edi, esp
mov dword [edi], ecx
mov ecx, dword [ebp - 0x64]
mov dword [edi + 4], ecx
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x5c]
mov dword [edi + 0xc], eax
sub esp, 0x10
mov ecx, esp
mov dword [ecx], esi
mov eax, dword [ebp - 0x74]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0x6c]
mov dword [ecx + 0xc], edx
push esi
push 0x409fe8
mov eax, dword [0x46902c]
push eax
lea ecx, [ebp - 0x58]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCallLd]
add esp, 0x30
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaCastObjVar]
push eax
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
lea edx, [ebp - 0x90]
push edx
push eax
call dword [ecx + 0x48]
fnclex
test eax, eax
jge 0x4417e3
push 0x48
push 0x40a00c
mov ecx, dword [ebp - 0x24]
push ecx
push eax
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
call edi
jmp 0x4417e9
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x90]
test eax, eax
jle 0x441d3e
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
lea ecx, [ebp - 0x8c]
push ecx
push eax
call dword [edx + 0x30]
fnclex
test eax, eax
jge 0x44181b
push 0x30
push 0x40a00c
mov edx, dword [ebp - 0x24]
push edx
push eax
call edi
cmp word [ebp - 0x8c], 0
jne 0x441d3e
movsx eax, bx
mov dword [ebp - 0xbc], eax
push 0
push eax
push 1
push 0
push 0x4693e4
push 0x1c
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaRedimPreserve]
add esp, 0x1c
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
lea edx, [ebp - 0x44]
push edx
push eax
call dword [ecx + 0x24]
fnclex
test eax, eax
jge 0x44186c
push 0x24
push 0x40a00c
mov ecx, dword [ebp - 0x24]
push ecx
push eax
call edi
mov eax, dword [ebp - 0x44]
mov esi, eax
mov ecx, 0x40ba18
mov edx, 8
mov edi, dword [eax]
lea ebx, [ebp - 0x48]
push ebx
sub esp, 0x10
mov ebx, esp
mov dword [ebx], edx
mov edx, dword [ebp - 0x64]
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x5c]
mov dword [ebx + 0xc], ecx
push eax
call dword [edi + 0x34]
fnclex
test eax, eax
jge 0x4418b4
push 0x34
push 0x40a030
push esi
push eax
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
call ebx
jmp 0x4418ba
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x48]
mov esi, eax
mov edx, dword [eax]
lea ecx, [ebp - 0x58]
push ecx
push eax
call dword [edx + 0x1c]
fnclex
test eax, eax
jge 0x4418da
push 0x1c
push 0x40a040
push esi
push eax
call ebx
mov eax, dword [0x4693e4]
test eax, eax
je 0x44190b
cmp word [eax], 1
jne 0x44190b
mov edi, dword [ebp - 0xbc]
sub edi, dword [eax + 0x14]
cmp edi, dword [eax + 0x10]
jb 0x4418fd
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
lea esi, [edi*8]
sub esi, edi
shl esi, 2
jmp 0x441913
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov esi, eax
lea edx, [ebp - 0x58]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaCyVar]
mov ecx, dword [0x4693e4]
mov ecx, dword [ecx + 0xc]
mov dword [ecx + esi], eax
mov dword [ecx + esi + 4], edx
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x44]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
lea edx, [ebp - 0x44]
push edx
push eax
call dword [ecx + 0x24]
fnclex
test eax, eax
jge 0x44196a
push 0x24
push 0x40a00c
mov ecx, dword [ebp - 0x24]
push ecx
push eax
call ebx
mov eax, dword [ebp - 0x44]
mov esi, eax
mov ecx, 0x40ba2c
mov edx, 8
mov edi, dword [eax]
lea ebx, [ebp - 0x48]
push ebx
sub esp, 0x10
mov ebx, esp
mov dword [ebx], edx
mov edx, dword [ebp - 0x64]
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x5c]
mov dword [ebx + 0xc], ecx
push eax
call dword [edi + 0x34]
fnclex
test eax, eax
jge 0x4419b2
push 0x34
push 0x40a030
push esi
push eax
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
call ebx
jmp 0x4419b8
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x48]
mov esi, eax
mov edx, dword [eax]
lea ecx, [ebp - 0x58]
push ecx
push eax
call dword [edx + 0x1c]
fnclex
test eax, eax
jge 0x4419d8
push 0x1c
push 0x40a040
push esi
push eax
call ebx
mov eax, dword [0x4693e4]
test eax, eax
je 0x441a09
cmp word [eax], 1
jne 0x441a09
mov edi, dword [ebp - 0xbc]
sub edi, dword [eax + 0x14]
cmp edi, dword [eax + 0x10]
jb 0x4419fb
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
lea esi, [edi*8]
sub esi, edi
shl esi, 2
jmp 0x441a11
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov esi, eax
lea edx, [ebp - 0x58]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaCyVar]
mov ecx, dword [0x4693e4]
mov ecx, dword [ecx + 0xc]
mov dword [ecx + esi + 8], eax
mov dword [ecx + esi + 0xc], edx
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x44]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
lea edx, [ebp - 0x44]
push edx
push eax
call dword [ecx + 0x24]
fnclex
test eax, eax
jge 0x441a69
push 0x24
push 0x40a00c
mov ecx, dword [ebp - 0x24]
push ecx
push eax
call ebx
mov eax, dword [ebp - 0x44]
mov esi, eax
mov ecx, 0x40ba40
mov edx, 8
mov edi, dword [eax]
lea ebx, [ebp - 0x48]
push ebx
sub esp, 0x10
mov ebx, esp
mov dword [ebx], edx
mov edx, dword [ebp - 0x64]
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x5c]
mov dword [ebx + 0xc], ecx
push eax
call dword [edi + 0x34]
fnclex
test eax, eax
jge 0x441ab1
push 0x34
push 0x40a030
push esi
push eax
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
call ebx
jmp 0x441ab7
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x48]
mov esi, eax
mov edx, dword [eax]
lea ecx, [ebp - 0x58]
push ecx
push eax
call dword [edx + 0x1c]
fnclex
test eax, eax
jge 0x441ad7
push 0x1c
push 0x40a040
push esi
push eax
call ebx
mov eax, dword [0x4693e4]
test eax, eax
je 0x441b08
cmp word [eax], 1
jne 0x441b08
mov edi, dword [ebp - 0xbc]
sub edi, dword [eax + 0x14]
cmp edi, dword [eax + 0x10]
jb 0x441afa
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
lea esi, [edi*8]
sub esi, edi
shl esi, 2
jmp 0x441b10
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov esi, eax
lea edx, [ebp - 0x58]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaI2Var]
mov ecx, dword [0x4693e4]
mov edx, dword [ecx + 0xc]
mov word [edx + esi + 0x10], ax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x44]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
lea ecx, [ebp - 0x44]
push ecx
push eax
call dword [edx + 0x24]
fnclex
test eax, eax
jge 0x441b65
push 0x24
push 0x40a00c
mov edx, dword [ebp - 0x24]
push edx
push eax
call ebx
mov eax, dword [ebp - 0x44]
mov esi, eax
mov ecx, 0x40ba54
mov edx, 8
mov edi, dword [eax]
lea ebx, [ebp - 0x48]
push ebx
sub esp, 0x10
mov ebx, esp
mov dword [ebx], edx
mov edx, dword [ebp - 0x64]
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x5c]
mov dword [ebx + 0xc], ecx
push eax
call dword [edi + 0x34]
fnclex
test eax, eax
jge 0x441bad
push 0x34
push 0x40a030
push esi
push eax
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
call ebx
jmp 0x441bb3
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x48]
mov esi, eax
mov edx, dword [eax]
lea ecx, [ebp - 0x58]
push ecx
push eax
call dword [edx + 0x1c]
fnclex
test eax, eax
jge 0x441bd3
push 0x1c
push 0x40a040
push esi
push eax
call ebx
mov eax, dword [0x4693e4]
test eax, eax
je 0x441c04
cmp word [eax], 1
jne 0x441c04
mov edi, dword [ebp - 0xbc]
sub edi, dword [eax + 0x14]
cmp edi, dword [eax + 0x10]
jb 0x441bf6
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
lea esi, [edi*8]
sub esi, edi
shl esi, 2
jmp 0x441c0c
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov esi, eax
lea edx, [ebp - 0x58]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaCyVar]
mov ecx, dword [0x4693e4]
mov ecx, dword [ecx + 0xc]
mov dword [ecx + esi + 0x14], eax
mov dword [ecx + esi + 0x18], edx
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x44]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
lea edx, [ebp - 0x44]
push edx
push eax
call dword [ecx + 0x24]
fnclex
test eax, eax
jge 0x441c64
push 0x24
push 0x40a00c
mov ecx, dword [ebp - 0x24]
push ecx
push eax
call ebx
mov eax, dword [ebp - 0x44]
mov esi, eax
mov ecx, 0x40ba68
mov edx, 8
mov edi, dword [eax]
lea ebx, [ebp - 0x48]
push ebx
sub esp, 0x10
mov ebx, esp
mov dword [ebx], edx
mov edx, dword [ebp - 0x64]
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x5c]
mov dword [ebx + 0xc], ecx
push eax
call dword [edi + 0x34]
fnclex
test eax, eax
jge 0x441cac
push 0x34
push 0x40a030
push esi
push eax
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
call edi
jmp 0x441cb2
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x48]
mov esi, eax
mov edx, dword [eax]
lea ecx, [ebp - 0x58]
push ecx
push eax
call dword [edx + 0x1c]
fnclex
test eax, eax
jge 0x441cd2
push 0x1c
push 0x40a040
push esi
push eax
call edi
lea edx, [ebp - 0x58]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
mov ecx, 0x469370
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x44]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
push eax
call dword [edx + 0xa4]
fnclex
test eax, eax
jge 0x441d28
push 0xa4
push 0x40a00c
mov ecx, dword [ebp - 0x24]
push ecx
push eax
call edi
mov bx, word [ebp - 0x2c]
add bx, 1
jo 0x441e07
mov dword [ebp - 0x2c], ebx
jmp 0x4417f7
call dword [sym.imp.MSVBVM60.DLL_rtcErrObj]
push eax
lea edx, [ebp - 0x44]
push edx
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
call esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x48]
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov eax, dword [ebp - 0x2c]
cmp ax, 1
jge 0x441d85
push 0
movsx edx, ax
push edx
push 1
push 0
push 0x4693e4
push 0x1c
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaRedimPreserve]
add esp, 0x1c
push 0x40a00c
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
push eax
lea eax, [ebp - 0x24]
push eax
call esi
call dword [sym.imp.MSVBVM60.DLL___vbaExitProc]
push 0x441df2
jmp 0x441ddf
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop