Function at 0x425680
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x403616
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x10], 0x401728
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov eax, dword [0x4501c4]
push eax
push 1
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaUbound]
call esi
test eax, eax
jne 0x4256f6
mov edx, 0x4087f0
mov ecx, dword [ebp + 0xc]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
call esi
mov edx, 0x40e5d0
mov ecx, dword [ebp + 0x10]
call esi
mov edx, 0x4087f0
mov ecx, dword [ebp + 0x14]
call esi
jmp 0x4258bd
mov ecx, dword [0x4501c4]
push ecx
push 1
call esi
mov ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
mov ebx, eax
mov edi, 1
cmp bx, di
jl 0x425777
mov ecx, dword [0x4501c4]
test ecx, ecx
je 0x425744
cmp word [ecx], 1
jne 0x425744
movsx esi, di
sub esi, dword [ecx + 0x14]
cmp esi, dword [ecx + 0x10]
jb 0x42573c
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [0x4501c4]
lea eax, [esi + esi*2]
shl eax, 4
jmp 0x425750
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [0x4501c4]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + eax + 0x10]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
test eax, eax
je 0x4257a8
add di, 1
jo 0x4258d6
cmp di, bx
jle 0x425715
mov edx, 0x4087f0
mov ecx, dword [ebp + 0xc]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
call esi
mov edx, 0x40e5d0
mov ecx, dword [ebp + 0x10]
call esi
mov edx, 0x4087f0
mov ecx, dword [ebp + 0x14]
call esi
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
jmp 0x4258bd
mov ecx, dword [0x4501c4]
test ecx, ecx
je 0x4257d7
cmp word [ecx], 1
jne 0x4257d7
movsx esi, di
sub esi, dword [ecx + 0x14]
cmp esi, dword [ecx + 0x10]
jb 0x4257cf
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [0x4501c4]
lea eax, [esi + esi*2]
shl eax, 4
jmp 0x4257e3
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [0x4501c4]
mov ecx, dword [ecx + 0xc]
mov edx, dword [ecx + eax + 8]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
call ebx
mov ecx, dword [0x4501c4]
test ecx, ecx
je 0x425824
cmp word [ecx], 1
jne 0x425824
movsx esi, di
sub esi, dword [ecx + 0x14]
cmp esi, dword [ecx + 0x10]
jb 0x42581c
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [0x4501c4]
lea eax, [esi + esi*2]
shl eax, 4
jmp 0x425830
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [0x4501c4]
mov edx, dword [ecx + 0xc]
mov edx, dword [edx + eax + 0x18]
mov ecx, dword [ebp + 0x10]
call ebx
mov ecx, dword [0x4501c4]
test ecx, ecx
je 0x425877
cmp word [ecx], 1
jne 0x425877
movsx esi, di
sub esi, dword [ecx + 0x14]
cmp esi, dword [ecx + 0x10]
jb 0x425863
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [0x4501c4]
lea eax, [esi + esi*2]
shl eax, 4
mov ecx, dword [ecx + 0xc]
mov edx, dword [ecx + eax + 0x28]
mov ecx, dword [ebp + 0x14]
call ebx
jmp 0x4258bd
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [0x4501c4]
mov ecx, dword [ecx + 0xc]
mov edx, dword [ecx + eax + 0x28]
mov ecx, dword [ebp + 0x14]
call ebx
jmp 0x4258bd
call dword [sym.imp.MSVBVM60.DLL___vbaExitProc]
mov ecx, dword [ebp - 0x1c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop