Function at 0x6477d0
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, 0x80
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x407358
mov eax, dword [0x67e4cc]
xor esi, esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x64], esi
mov ecx, dword [eax]
push eax
mov dword [ebp - 0x50], esi
call dword [ecx + 0x98]
cmp eax, esi
fnclex
jge 0x647846
mov edx, dword [0x67e4cc]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x98
push 0x45cd74
push edx
push eax
call edi
jmp 0x64784c
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [0x67e4cc]
lea edx, [ebp - 0x64]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x68]
cmp eax, esi
fnclex
jge 0x647872
mov ecx, dword [0x67e4cc]
push 0x68
push 0x45cd74
push ecx
push eax
call edi
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 0x64]
movsx edx, word [ebx]
cmp edx, eax
jle 0x6478b1
mov eax, dword [0x67e4cc]
lea edx, [ebp - 0x64]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x68]
cmp eax, esi
fnclex
jge 0x6478a5
mov ecx, dword [0x67e4cc]
push 0x68
push 0x45cd74
push ecx
push eax
call edi
mov ecx, dword [ebp - 0x64]
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
mov word [ebx], ax
mov si, word [ebx]
mov ebx, 1
sub si, 1
jo 0x647b7a
mov eax, dword [0x67e4cc]
cmp bx, si
mov edx, dword [eax]
jg 0x647902
push eax
call dword [edx + 0x90]
test eax, eax
fnclex
jge 0x6478f0
mov ecx, dword [0x67e4cc]
push 0x90
push 0x45cd74
push ecx
push eax
call edi
mov eax, 1
add ax, bx
jo 0x647b7a
mov ebx, eax
jmp 0x6478c3
lea ecx, [ebp - 0x1c]
push ecx
push eax
call dword [edx + 0x54]
test eax, eax
fnclex
jge 0x647921
mov edx, dword [0x67e4cc]
push 0x54
push 0x45cd74
push edx
push eax
call edi
lea ebx, [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
push ebx
mov edx, 8
sub esp, 0x10
mov esi, dword [eax]
mov ebx, esp
mov ecx, 0x46721c
push eax
mov dword [ebp - 0x6c], eax
mov dword [ebx], edx
mov edx, dword [ebp - 0x4c]
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x44]
mov dword [ebx + 0xc], ecx
call dword [esi + 0x28]
test eax, eax
fnclex
jge 0x647965
mov edx, dword [ebp - 0x6c]
push 0x28
push 0x45e35c
push edx
push eax
call edi
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x30]
push edx
push eax
mov ecx, dword [eax]
mov esi, eax
call dword [ecx + 0x34]
test eax, eax
fnclex
jge 0x647985
push 0x34
push 0x45e36c
push esi
push eax
call edi
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x18]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x1c]
push ecx
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [0x67e4c8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x98]
test eax, eax
fnclex
jge 0x6479de
mov edx, dword [0x67e4c8]
push 0x98
push 0x45cd74
push edx
push eax
call edi
mov eax, dword [0x67e4c8]
lea edx, [ebp - 0x64]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x68]
test eax, eax
fnclex
jge 0x647a04
mov ecx, dword [0x67e4c8]
push 0x68
push 0x45cd74
push ecx
push eax
call edi
mov ecx, dword [ebp - 0x64]
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
mov dword [ebp - 0x8c], eax
mov eax, 1
cmp ax, word [ebp - 0x8c]
mov dword [ebp - 0x14], eax
jg 0x647b32
mov eax, dword [0x67e4c8]
lea ecx, [ebp - 0x1c]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x54]
test eax, eax
fnclex
jge 0x647a4e
mov edx, dword [0x67e4c8]
push 0x54
push 0x45cd74
push edx
push eax
call edi
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, 0x45e578
push eax
mov esi, eax
mov dword [ebx], edx
mov edx, dword [ebp - 0x4c]
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x44]
mov dword [ebx + 0xc], ecx
call dword [edi + 0x28]
test eax, eax
fnclex
jge 0x647a96
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x28
push 0x45e35c
push esi
push eax
call edi
jmp 0x647a9c
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x30]
push ecx
push eax
mov edx, dword [eax]
mov esi, eax
call dword [edx + 0x34]
test eax, eax
fnclex
jge 0x647abc
push 0x34
push 0x45e36c
push esi
push eax
call edi
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x60]
push eax
push ecx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x60], 0x8008
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
mov esi, eax
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x1c]
push edx
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
test si, si
jne 0x647b32
mov eax, dword [0x67e4c8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x90]
test eax, eax
fnclex
jge 0x647b22
mov edx, dword [0x67e4c8]
push 0x90
push 0x45cd74
push edx
push eax
call edi
mov eax, 1
add ax, word [ebp - 0x14]
jo 0x647b7a
jmp 0x647a18
push 0x647b67
jmp 0x647b5d
lea ecx, [ebp - 0x18]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]