Function at 0x458760
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], 0x401be0
xor esi, esi
mov edx, 0x40d15c
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 [0x469118]
push eax
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaUbound]
mov ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
mov ecx, dword [0x469118]
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 0x458a27
cmp ecx, esi
je 0x45880a
cmp word [ecx], 1
jne 0x45880a
mov edx, dword [ecx + 0x14]
movsx esi, ax
mov eax, dword [ecx + 0x10]
sub esi, edx
cmp esi, eax
jb 0x458803
call edi
mov ecx, dword [0x469118]
shl esi, 5
mov eax, esi
jmp 0x458812
call edi
mov ecx, dword [0x469118]
mov esi, dword [ecx + 0xc]
mov edx, 0x14
cmp word [esi + eax + 0x18], dx
jne 0x45889d
test ecx, ecx
je 0x45884a
cmp word [ecx], 1
jne 0x45884a
movsx esi, word [ebp - 0x14]
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
sub esi, edx
cmp esi, eax
jb 0x458843
call edi
mov ecx, dword [0x469118]
shl esi, 5
mov eax, esi
jmp 0x458852
call edi
mov ecx, dword [0x469118]
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]
test si, si
jne 0x4588b6
mov ecx, dword [0x469118]
mov eax, 1
add ax, word [ebp - 0x14]
jo 0x458a5d
mov dword [ebp - 0x14], eax
xor esi, esi
jmp 0x4587d8
mov ecx, dword [0x46911c]
test ecx, ecx
je 0x4588e5
cmp word [ecx], 1
jne 0x4588e5
movsx esi, word [ebp - 0x14]
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
sub esi, edx
cmp esi, eax
jb 0x4588de
call edi
mov ecx, dword [0x46911c]
shl esi, 5
mov eax, esi
jmp 0x4588ed
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 [0x469118]
test ecx, ecx
je 0x458930
cmp word [ecx], 1
jne 0x458930
movsx esi, word [ebp - 0x14]
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
sub esi, edx
cmp esi, eax
jb 0x458929
call edi
mov ecx, dword [0x469118]
shl esi, 5
mov eax, esi
jmp 0x458938
call edi
mov ecx, dword [0x469118]
mov ecx, dword [ecx + 0xc]
mov edx, dword [ecx + eax]
mov ecx, 0x46916c
call ebx
mov ecx, dword [0x469118]
test ecx, ecx
je 0x458974
cmp word [ecx], 1
jne 0x458974
movsx esi, word [ebp - 0x14]
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
sub esi, edx
cmp esi, eax
jb 0x45896d
call edi
mov ecx, dword [0x469118]
shl esi, 5
mov eax, esi
jmp 0x45897c
call edi
mov ecx, dword [0x469118]
mov edx, dword [ecx + 0xc]
mov ecx, 0x469170
mov edx, dword [edx + eax + 4]
call ebx
mov ecx, dword [0x469118]
test ecx, ecx
je 0x4589b9
cmp word [ecx], 1
jne 0x4589b9
movsx esi, word [ebp - 0x14]
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
sub esi, edx
cmp esi, eax
jb 0x4589b2
call edi
mov ecx, dword [0x469118]
shl esi, 5
mov eax, esi
jmp 0x4589c1
call edi
mov ecx, dword [0x469118]
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 0x458a00
cmp word [ecx], 1
jne 0x458a00
movsx esi, word [ebp - 0x14]
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
sub esi, edx
cmp esi, eax
jb 0x4589f9
call edi
mov ecx, dword [0x469118]
shl esi, 5
mov eax, esi
jmp 0x458a08
call edi
mov ecx, dword [0x469118]
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 0x458a4c
jmp 0x458a42
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop