Function at 0x458460
Capabilities:
Reference sql statements
Resolve function by parsing pe exports

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, 0x6c
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x401bd0
xor esi, esi
mov edx, 0x40d140
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x68], esi
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov eax, dword [0x46911c]
push eax
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaUbound]
mov ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
mov ecx, dword [0x46911c]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
mov dword [ebp - 0x78], eax
xor eax, eax
mov dword [ebp - 0x14], eax
cmp ax, word [ebp - 0x78]
jg 0x458721
cmp ecx, esi
je 0x45850a
cmp word [ecx], 1
jne 0x45850a
mov edx, dword [ecx + 0x14]
movsx esi, ax
mov eax, dword [ecx + 0x10]
sub esi, edx
cmp esi, eax
jb 0x458503
call edi
mov ecx, dword [0x46911c]
shl esi, 5
mov eax, esi
jmp 0x458512
call edi
mov ecx, dword [0x46911c]
mov esi, dword [ecx + 0xc]
mov edx, 0xa
cmp word [esi + eax + 0x18], dx
jne 0x45859d
test ecx, ecx
je 0x45854a
cmp word [ecx], 1
jne 0x45854a
movsx esi, word [ebp - 0x14]
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
sub esi, edx
cmp esi, eax
jb 0x458543
call edi
mov ecx, dword [0x46911c]
shl esi, 5
mov eax, esi
jmp 0x458552
call edi
mov ecx, dword [0x46911c]
mov ecx, dword [ecx + 0xc]
mov edx, dword [ecx + eax]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x60], edx
lea edx, [ebp - 0x38]
lea eax, [ebp - 0x24]
push ecx
push edx
mov dword [ebp - 0x68], 0x8008
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x58], 0x4008
call dword [sym.imp.MSVBVM60.DLL_rtcTrimVar]
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0x38]
push eax
push ecx
call ebx
lea ecx, [ebp - 0x38]
mov esi, eax
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov ecx, dword [0x46911c]
test si, si
jne 0x4585b6
mov eax, 1
add ax, word [ebp - 0x14]
jo 0x458757
mov dword [ebp - 0x14], eax
xor esi, esi
jmp 0x4584d8
test ecx, ecx
je 0x4585df
cmp word [ecx], 1
jne 0x4585df
movsx esi, word [ebp - 0x14]
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
sub esi, edx
cmp esi, eax
jb 0x4585d8
call edi
mov ecx, dword [0x46911c]
shl esi, 5
mov eax, esi
jmp 0x4585e7
call edi
mov ecx, dword [0x46911c]
mov edx, dword [ecx + 0xc]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov ecx, 0x469258
mov edx, dword [edx + eax + 0x1c]
call ebx
mov ecx, dword [0x46911c]
test ecx, ecx
je 0x45862a
cmp word [ecx], 1
jne 0x45862a
movsx esi, word [ebp - 0x14]
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
sub esi, edx
cmp esi, eax
jb 0x458623
call edi
mov ecx, dword [0x46911c]
shl esi, 5
mov eax, esi
jmp 0x458632
call edi
mov ecx, dword [0x46911c]
mov ecx, dword [ecx + 0xc]
mov edx, dword [ecx + eax]
mov ecx, 0x46916c
call ebx
mov ecx, dword [0x46911c]
test ecx, ecx
je 0x45866e
cmp word [ecx], 1
jne 0x45866e
movsx esi, word [ebp - 0x14]
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
sub esi, edx
cmp esi, eax
jb 0x458667
call edi
mov ecx, dword [0x46911c]
shl esi, 5
mov eax, esi
jmp 0x458676
call edi
mov ecx, dword [0x46911c]
mov edx, dword [ecx + 0xc]
mov ecx, 0x469170
mov edx, dword [edx + eax + 4]
call ebx
mov ecx, dword [0x46911c]
test ecx, ecx
je 0x4586b3
cmp word [ecx], 1
jne 0x4586b3
movsx esi, word [ebp - 0x14]
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
sub esi, edx
cmp esi, eax
jb 0x4586ac
call edi
mov ecx, dword [0x46911c]
shl esi, 5
mov eax, esi
jmp 0x4586bb
call edi
mov ecx, dword [0x46911c]
mov edx, dword [ecx + 0xc]
test ecx, ecx
mov esi, dword [edx + eax + 8]
mov dword [0x469174], esi
mov eax, dword [edx + eax + 0xc]
mov dword [0x469178], eax
je 0x4586fa
cmp word [ecx], 1
jne 0x4586fa
movsx esi, word [ebp - 0x14]
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
sub esi, edx
cmp esi, eax
jb 0x4586f3
call edi
mov ecx, dword [0x46911c]
shl esi, 5
mov eax, esi
jmp 0x458702
call edi
mov ecx, dword [0x46911c]
mov ecx, dword [ecx + 0xc]
mov edx, dword [ecx + eax + 0x10]
mov dword [0x46917c], edx
mov eax, dword [ecx + eax + 0x14]
mov word [0x469120], 0
mov dword [0x469180], eax
push 0x458746
jmp 0x45873c
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop