Function at 0x646f50
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x408f06
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x407320
mov eax, dword [0x67e4c8]
xor esi, esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x88], esi
mov ecx, dword [eax]
push eax
mov dword [ebp - 0x64], esi
call dword [ecx + 0x98]
cmp eax, esi
fnclex
jge 0x646fcf
mov edx, dword [0x67e4c8]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x98
push 0x45cd74
push edx
push eax
call ebx
jmp 0x646fd5
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [0x67e4c8]
lea edx, [ebp - 0x88]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x68]
cmp eax, esi
fnclex
jge 0x646ffe
mov ecx, dword [0x67e4c8]
push 0x68
push 0x45cd74
push ecx
push eax
call ebx
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 0x88]
movsx edx, word [edi]
cmp edx, eax
jle 0x647046
mov eax, dword [0x67e4c8]
lea edx, [ebp - 0x88]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x68]
cmp eax, esi
fnclex
jge 0x647037
mov ecx, dword [0x67e4c8]
push 0x68
push 0x45cd74
push ecx
push eax
call ebx
mov ecx, dword [ebp - 0x88]
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
mov word [edi], ax
mov si, word [edi]
mov edi, 1
sub si, 1
jo 0x64723f
cmp di, si
jg 0x647097
mov eax, dword [0x67e4c8]
push eax
mov edx, dword [eax]
call dword [edx + 0x90]
test eax, eax
fnclex
jge 0x647085
mov ecx, dword [0x67e4c8]
push 0x90
push 0x45cd74
push ecx
push eax
call ebx
mov eax, 1
add ax, di
jo 0x64723f
mov edi, eax
jmp 0x647058
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x4c], 0x80020004
mov dword [ebp - 0x54], 0xa
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarg]
mov eax, dword [0x67e4c8]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x6c], 0x462648
mov dword [ebp - 0x74], 8
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x54]
test eax, eax
fnclex
jge 0x6470e2
mov edx, dword [0x67e4c8]
push 0x54
push 0x45cd74
push edx
push eax
call ebx
lea ebx, [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
push ebx
mov edx, 8
sub esp, 0x10
mov edi, dword [eax]
mov ebx, esp
mov ecx, 0x46710c
push eax
mov esi, eax
mov dword [ebx], edx
mov edx, dword [ebp - 0x60]
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x58]
mov dword [ebx + 0xc], ecx
call dword [edi + 0x28]
test eax, eax
fnclex
jge 0x64712a
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x28
push 0x45e35c
push esi
push eax
call edi
jmp 0x647130
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x34]
push ecx
push eax
mov edx, dword [eax]
mov esi, eax
call dword [edx + 0x34]
test eax, eax
fnclex
jge 0x647150
push 0x34
push 0x45e36c
push esi
push eax
call edi
mov edx, dword [0x67e048]
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x54]
mov esi, dword [edx]
push 0xffffffffffffffff
lea edx, [ebp - 0x74]
push ecx
lea eax, [ebp - 0x34]
push edx
lea ecx, [ebp - 0x44]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
lea edx, [ebp - 0x18]
push eax
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
mov eax, dword [0x67e048]
push eax
call dword [esi + 0x40]
test eax, eax
fnclex
jge 0x6471a0
mov ecx, dword [0x67e048]
push 0x40
push 0x45e544
push ecx
push eax
call edi
mov edx, dword [ebp - 0x24]
push 0x45d038
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
push eax
push 0x67e4cc
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x18]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x20]
push eax
lea edx, [ebp - 0x1c]
push ecx
push edx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
lea eax, [ebp - 0x54]
lea ecx, [ebp - 0x44]
push eax
lea edx, [ebp - 0x34]
push ecx
push edx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x20
push 0x64722c
jmp 0x64722b
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop